Savarese Software Research Corporation
libssrcspread-packages.h
Go to the documentation of this file.
00001 /*
00002  *
00003  * Copyright 2006 Savarese Software Research Corporation
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License");
00006  * you may not use this file except in compliance with the License.
00007  * You may obtain a copy of the License at
00008  *
00009  *     http://www.savarese.com/software/ApacheLicense-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00029 #ifndef __SSRC_LIBSSRCSPREAD_PACKAGES_H
00030 #define __SSRC_LIBSSRCSPREAD_PACKAGES_H
00031 
00032 #include <ssrc/libssrcspread-config.h>
00033 
00034 // Begin namespace definitions.
00035 
00036 #define NS_SSRC_SPREAD    NS_SSRCSPREAD
00037 #define NS_SPREAD_INCLUDE Spread
00038 
00039 #define NS_SSRCSPREAD_INTERNAL_DECL_PREFIX NS_SSRCSPREAD_DECL_PREFIX
00040 #define NS_SSRCSPREAD_INTERNAL_DECL_SUFFIX NS_SSRCSPREAD_DECL_SUFFIX
00041 
00042 #define NS_SSRCSPREAD_EXTERNAL_DECL_PREFIX \
00043 namespace ssrc {
00044 #define NS_SSRCSPREAD_EXTERNAL_DECL_SUFFIX \
00045 }
00046 
00047 #define __END_NS_SSRCSPREAD \
00048     } \
00049 NS_SSRCSPREAD_DECL_SUFFIX
00050 
00051 #define LIBSSRCSPREAD_BEGIN_NS(name) \
00052   NS_SSRCSPREAD_DECL_PREFIX \
00053     namespace name {
00054 
00055 #define __BEGIN_NS_SSRC_SPREAD  NS_SSRCSPREAD_DECL_PREFIX
00056 #define __END_NS_SSRC_SPREAD    NS_SSRCSPREAD_DECL_SUFFIX
00057 
00058 #define __BEGIN_NS_SPREAD_INCLUDE \
00059 namespace Spread {
00060 #define __END_NS_SPREAD_INCLUDE \
00061 }
00062 
00063 // End namespace definitions.
00064 
00065 // Document namespaces
00066 
00071 NS_SSRCSPREAD_INTERNAL_DECL_PREFIX
00072 
00082 namespace detail { }
00083 
00084 NS_SSRCSPREAD_INTERNAL_DECL_SUFFIX
00085 
00095 namespace Spread { }
00096 
00097 // Create aliases
00098 
00106 NS_SSRCSPREAD_EXTERNAL_DECL_PREFIX
00107 
00108   namespace spread = NS_SSRC_SPREAD;
00109 
00110 NS_SSRCSPREAD_EXTERNAL_DECL_SUFFIX
00111 
00112 // End namespace aliases
00113 
00114 #endif

Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.