Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Variables
WsGlobalConfig.h File Reference
#include <iostream>
Include dependency graph for WsGlobalConfig.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ErrorCode
 
 GlobalConfig
 

Variables

const int ErrorCode::Success = 0
 
const int ErrorCode::Failure = -1
 
const int ErrorCode::NoAccess = -4
 
const int ErrorCode::NotLogged = -5
 
const int ErrorCode::NotFound = -3
 
const int ErrorCode::Locked = -2
 
const int GlobalConfig::Read = 2
 
const int GlobalConfig::ReadWrite = 6
 
const int GlobalConfig::On = 1
 
const int GlobalConfig::Off = 0
 
const int GlobalConfig::Delay = 30
 
const int GlobalConfig::NbItems = 3
 
const std::string GlobalConfig::StdOut = "STDOUT"
 
const std::string GlobalConfig::StdErr = "STDERR"
 
const std::string GlobalConfig::GlobalPropertiesPath = "/etc/wt/wittyshare-global.json"
 
const std::string GlobalConfig::LayoutPropertiesPath = "/etc/wt/wittyshare-layout.json"
 
const std::string GlobalConfig::PluginsPropertiesPath = "/etc/wt/wittyshare-plugins.json"
 
const std::string GlobalConfig::CrashLogPath = "/tmp/crashLogWs.log"
 
const std::string GlobalConfig::PathToLockFile = "/.config/freezetree"
 
const std::string GlobalConfig::PathToConfig = "/.config/"
 
const std::string GlobalConfig::PathToNodeProperties = "/.config/nodes/"
 
const std::string GlobalConfig::PathToNodeLock = "/.config/locks/"
 
const std::string GlobalConfig::PathToDirProperties = "/.config/properties.json"
 
const std::string GlobalConfig::PathToImages = "/ws.res/images/"
 
const std::string GlobalConfig::PathToTemplates = "/.config/templates/"
 
const std::string GlobalConfig::PathToIcones = "/ws.res/icones/"
 
const std::string GlobalConfig::ConfExt = ".json"
 
const std::string GlobalConfig::SubFolders [NbItems] = {PathToConfig, PathToNodeProperties, PathToNodeLock}