inlib
1.2.0
|
00001 // Copyright (C) 2010, Guy Barrand. All rights reserved. 00002 // See the file inlib.license for terms. 00003 00004 #ifndef inlib_wall_protocol 00005 #define inlib_wall_protocol 00006 00007 #include <string> 00008 00009 // used in wall applications. 00010 00011 namespace inlib { 00012 namespace wall { 00013 namespace protocol { 00014 00015 inline const std::string& start() { 00016 static const std::string s_v("start"); 00017 return s_v; 00018 } 00019 00020 inline const std::string& disconnect() { 00021 static const std::string s_v("disconnect"); 00022 return s_v; 00023 } 00024 00025 inline const std::string& doc() { 00026 static const std::string s_v("doc"); 00027 return s_v; 00028 } 00029 00030 }}} 00031 00032 #endif