1 #ifndef ISPN_HOTROD_VERSION_H 2 #define ISPN_HOTROD_VERSION_H 14 static std::string *__protocolVersionPtr = NULL;
15 static std::string *__versionPtr = NULL;
23 HR_EXTERN static const char *PROTOCOL_VERSION;
33 return PROTOCOL_VERSION;
49 if (__protocolVersionPtr == NULL) {
50 __protocolVersionPtr =
new std::string(PROTOCOL_VERSION);
52 return *__protocolVersionPtr;
59 if (__versionPtr == NULL) {
60 __versionPtr =
new std::string(VERSION);
68 #endif // ISPN_HOTROD_VERSIONEDVALUE_H static const char * getProtocolVersionCString()
Definition: Version.h:32
#define HR_EXTERN
Definition: ImportExport.h:35
Definition: AuthenticationConfiguration.h:10
static const std::string & getVersion()
Definition: Version.h:58
static const char * getVersionCString()
Definition: Version.h:41
static const std::string & getProtocolVersion()
Definition: Version.h:48