wispers-packages.h
Go to the documentation of this file.
00001 /* 00002 * Copyright 2006-2009 Savarese Software Research Corporation 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * https://www.savarese.com/software/ApacheLicense-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 00028 #ifndef __SSRC_WSPR_PACKAGES_H 00029 #define __SSRC_WSPR_PACKAGES_H 00030 00031 #include <ssrc/wispers-config.h> 00032 00033 // Begin namespace definitions. 00034 00035 #define NS_SSRC_WSPR NS_WSPR 00036 #define NS_SSRC_WSPR_DATABASE WSPR_DEFINE_NAMESPACE(database) 00037 #define NS_SSRC_WSPR_FCGI WSPR_DEFINE_NAMESPACE(fcgi) 00038 #define NS_SSRC_WSPR_FCGI_LUA WSPR_DEFINE_NAMESPACE(fcgi_lua) 00039 #define NS_SSRC_WSPR_GROUP_SESSION WSPR_DEFINE_NAMESPACE(group_session) 00040 #define NS_SSRC_WSPR_INDEX WSPR_DEFINE_NAMESPACE(index) 00041 #define NS_SSRC_WSPR_LOGIN WSPR_DEFINE_NAMESPACE(login) 00042 #define NS_SSRC_WSPR_LUA WSPR_DEFINE_NAMESPACE(lua) 00043 #define NS_SSRC_WSPR_PROTOCOL WSPR_DEFINE_NAMESPACE(protocol) 00044 #define NS_SSRC_WSPR_REGISTRY WSPR_DEFINE_NAMESPACE(registry) 00045 #define NS_SSRC_WSPR_RELAY WSPR_DEFINE_NAMESPACE(relay) 00046 #define NS_SSRC_WSPR_RENDERER WSPR_DEFINE_NAMESPACE(renderer) 00047 #define NS_SSRC_WSPR_SERVICE WSPR_DEFINE_NAMESPACE(service) 00048 #define NS_SSRC_WSPR_SESSION WSPR_DEFINE_NAMESPACE(session) 00049 #define NS_SSRC_WSPR_TEST WSPR_DEFINE_NAMESPACE(test) 00050 #define NS_SSRC_WSPR_UTILITY WSPR_DEFINE_NAMESPACE(utility) 00051 #define NS_SSRC_WSPR_WS WSPR_DEFINE_NAMESPACE(ws) 00052 #define NS_SSRC_WSPR_WS_LUA WSPR_DEFINE_NAMESPACE(ws_lua) 00053 00054 #define NS_WSPR_INTERNAL_DECL_PREFIX NS_WSPR_DECL_PREFIX 00055 #define NS_WSPR_INTERNAL_DECL_SUFFIX NS_WSPR_DECL_SUFFIX 00056 00057 #define NS_WSPR_EXTERNAL_DECL_PREFIX \ 00058 namespace ssrc { 00059 #define NS_WSPR_EXTERNAL_DECL_SUFFIX \ 00060 } 00061 00062 #define __END_NS_WSPR \ 00063 } \ 00064 NS_WSPR_DECL_SUFFIX 00065 00066 #define __END_NS_WSPR2 \ 00067 } \ 00068 } \ 00069 NS_WSPR_DECL_SUFFIX 00070 00071 #define WSPR_BEGIN_NS(name) \ 00072 NS_WSPR_DECL_PREFIX \ 00073 namespace name { 00074 00075 #define WSPR_BEGIN_NS2(name1,name2) \ 00076 NS_WSPR_DECL_PREFIX \ 00077 namespace name1 { \ 00078 namespace name2 { 00079 00080 #define __BEGIN_NS_SSRC_WSPR NS_WSPR_DECL_PREFIX 00081 #define __END_NS_SSRC_WSPR NS_WSPR_DECL_SUFFIX 00082 00083 #define __BEGIN_NS_SSRC_WSPR_DATABASE WSPR_BEGIN_NS(database) 00084 #define __END_NS_SSRC_WSPR_DATABASE __END_NS_WSPR 00085 00086 #define __BEGIN_NS_SSRC_WSPR_FCGI WSPR_BEGIN_NS(fcgi) 00087 #define __END_NS_SSRC_WSPR_FCGI __END_NS_WSPR 00088 00089 #define __BEGIN_NS_SSRC_WSPR_FCGI_LUA WSPR_BEGIN_NS(fcgi_lua) 00090 #define __END_NS_SSRC_WSPR_FCGI_LUA __END_NS_WSPR 00091 00092 #define __BEGIN_NS_SSRC_WSPR_GROUP_SESSION WSPR_BEGIN_NS(group_session) 00093 #define __END_NS_SSRC_WSPR_GROUP_SESSION __END_NS_WSPR 00094 00095 #define __BEGIN_NS_SSRC_WSPR_INDEX WSPR_BEGIN_NS(index) 00096 #define __END_NS_SSRC_WSPR_INDEX __END_NS_WSPR 00097 00098 #define __BEGIN_NS_SSRC_WSPR_LOGIN WSPR_BEGIN_NS(login) 00099 #define __END_NS_SSRC_WSPR_LOGIN __END_NS_WSPR 00100 00101 #define __BEGIN_NS_SSRC_WSPR_LUA WSPR_BEGIN_NS(lua) 00102 #define __END_NS_SSRC_WSPR_LUA __END_NS_WSPR 00103 00104 #define __BEGIN_NS_SSRC_WSPR_PROTOCOL WSPR_BEGIN_NS(protocol) 00105 #define __END_NS_SSRC_WSPR_PROTOCOL __END_NS_WSPR 00106 00107 #define __BEGIN_NS_SSRC_WSPR_REGISTRY WSPR_BEGIN_NS(registry) 00108 #define __END_NS_SSRC_WSPR_REGISTRY __END_NS_WSPR 00109 00110 #define __BEGIN_NS_SSRC_WSPR_RELAY WSPR_BEGIN_NS(relay) 00111 #define __END_NS_SSRC_WSPR_RELAY __END_NS_WSPR 00112 00113 #define __BEGIN_NS_SSRC_WSPR_RENDERER WSPR_BEGIN_NS(renderer) 00114 #define __END_NS_SSRC_WSPR_RENDERER __END_NS_WSPR 00115 00116 #define __BEGIN_NS_SSRC_WSPR_SERVICE WSPR_BEGIN_NS(service) 00117 #define __END_NS_SSRC_WSPR_SERVICE __END_NS_WSPR 00118 00119 #define __BEGIN_NS_SSRC_WSPR_SESSION WSPR_BEGIN_NS(session) 00120 #define __END_NS_SSRC_WSPR_SESSION __END_NS_WSPR 00121 00122 #define __BEGIN_NS_SSRC_WSPR_TEST WSPR_BEGIN_NS(test) 00123 #define __END_NS_SSRC_WSPR_TEST __END_NS_WSPR 00124 00125 #define __BEGIN_NS_SSRC_WSPR_UTILITY WSPR_BEGIN_NS(utility) 00126 #define __END_NS_SSRC_WSPR_UTILITY __END_NS_WSPR 00127 00128 #define __BEGIN_NS_SSRC_WSPR_WS WSPR_BEGIN_NS(ws) 00129 #define __END_NS_SSRC_WSPR_WS __END_NS_WSPR 00130 00131 #define __BEGIN_NS_SSRC_WSPR_WS_LUA WSPR_BEGIN_NS(ws_lua) 00132 #define __END_NS_SSRC_WSPR_WS_LUA __END_NS_WSPR 00133 00134 #define __BEGIN_NS_FCGI_INCLUDE namespace FCGI { 00135 #define __END_NS_FCGI_INCLUDE } 00136 00137 #define __BEGIN_NS_SQLITE3_INCLUDE namespace SQLite3 { 00138 #define __END_NS_SQLITE3_INCLUDE } 00139 00140 // End namespace definitions. 00141 00142 // Document namespaces 00149 NS_WSPR_INTERNAL_DECL_PREFIX 00150 00155 namespace database { } 00156 00161 namespace fcgi { } 00162 00166 namespace fcgi_lua { } 00167 00171 namespace group_session { } 00172 00177 namespace index { } 00178 00182 namespace login { } 00183 00188 namespace lua { } 00189 00194 namespace protocol { } 00195 00200 namespace registry { } 00201 00206 namespace relay { } 00207 00212 namespace renderer { } 00213 00218 namespace service { } 00219 00224 namespace session { } 00225 00229 namespace test { } 00230 00234 namespace utility { } 00235 00240 namespace ws { } 00241 00245 namespace ws_lua { } 00246 00247 NS_WSPR_INTERNAL_DECL_SUFFIX 00248 00254 namespace FCGI { } 00255 00261 namespace SQLite3 { } 00262 00263 // Create aliases 00264 00272 NS_WSPR_EXTERNAL_DECL_PREFIX 00273 00274 namespace wispers = NS_SSRC_WSPR; 00275 00276 NS_WSPR_EXTERNAL_DECL_SUFFIX 00277 00278 // End namespace aliases 00279 00280 #endif
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.