From aa62332eb893ad65d5b65cb19f020ed6f87b2514 Mon Sep 17 00:00:00 2001 From: Aleksander Zdyb Date: Mon, 27 Oct 2014 14:44:14 +0100 Subject: [PATCH] Add StoragePath::lockfile path Change-Id: I16242dd8da7435661ee65698541e935ea9105cf1 --- src/common/config/PathConfig.cpp | 2 ++ src/common/config/PathConfig.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/common/config/PathConfig.cpp b/src/common/config/PathConfig.cpp index f2799a1..8dd0491 100644 --- a/src/common/config/PathConfig.cpp +++ b/src/common/config/PathConfig.cpp @@ -16,6 +16,7 @@ /** * @file src/common/config/PathConfig.cpp * @author Zofia Abramowska + * @author Aleksander Zdyb * @version 1.0 * @brief This file specifies PathConfig namespace containing values of default cynara paths */ @@ -52,6 +53,7 @@ const std::string agent(clientPath + "cynara-agent.socket"); namespace StoragePath { const std::string dbDir(statePath + "db/"); +const std::string lockFile(statePath); } // namespace StoragePath namespace PluginPath { diff --git a/src/common/config/PathConfig.h b/src/common/config/PathConfig.h index 2f5836a..da5671f 100644 --- a/src/common/config/PathConfig.h +++ b/src/common/config/PathConfig.h @@ -16,6 +16,7 @@ /** * @file src/common/config/PathConfig.h * @author Zofia Abramowska + * @author Aleksander Zdyb * @version 1.0 * @brief This file specifies PathConfig namespace containing default cynara paths */ @@ -40,6 +41,7 @@ extern const std::string agent; namespace StoragePath { extern const std::string dbDir; +extern const std::string lockFile; } // namespace StoragePath namespace PluginPath { -- 2.7.4