summaryrefslogtreecommitdiff
path: root/ace/Local_Tokens.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-10-28 16:14:56 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-10-28 16:14:56 +0000
commit2aa4f50f829476ae276ba391127cc7266f603c96 (patch)
treec4fe2b70acf02ce19d199713fff6dec5645d8a93 /ace/Local_Tokens.h
parent28934d0116426fa37e2a562cfa0d95fa34241051 (diff)
downloadATCD-2aa4f50f829476ae276ba391127cc7266f603c96.tar.gz
ChangeLogTag:Fri Oct 28 00:01:06 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ace/Local_Tokens.h')
-rw-r--r--ace/Local_Tokens.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/ace/Local_Tokens.h b/ace/Local_Tokens.h
index 6e68856d02e..4ed2c1222a0 100644
--- a/ace/Local_Tokens.h
+++ b/ace/Local_Tokens.h
@@ -1,4 +1,4 @@
-/* -*- C++ -*- */
+// -*- C++ -*-
//=============================================================================
/**
@@ -67,6 +67,8 @@
# define ACE_NO_TSS_TOKENS 1
#endif /* !(defined (ACE_HAS_THREADS) && defined (ACE_HAS_THREAD_SPECIFIC_STORAGE)) */
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
// 1.
/**
* @class ACE_TOKEN_CONST
@@ -77,9 +79,8 @@
* this class is necessary to fight the compiler with order of
* declaration errors.
*/
-class ACE_Export ACE_TOKEN_CONST
+namespace ACE_TOKEN_CONST
{
-public:
#if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0)
// ACE platform supports some form of threading.
typedef ACE_Condition_Thread_Mutex COND_VAR;
@@ -90,7 +91,7 @@ public:
typedef ACE_Null_Mutex MUTEX;
typedef ACE_Guard<ACE_Null_Mutex> GUARD;
#endif /* ACE_HAS_THREADS */
-};
+}
// Forward decl.
class ACE_Token_Proxy;
@@ -105,7 +106,7 @@ class ACE_Token_Proxy;
*/
class ACE_Export ACE_TPQ_Entry
{
-friend class ACE_Token_Manager;
+ friend class ACE_Token_Manager;
public:
typedef void (*PTVF) (void *);
@@ -1109,6 +1110,8 @@ protected:
ACE_Tokens *create_token (const ACE_TCHAR *name);
};
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#endif /* ACE_HAS_TOKENS_LIBRARY */
#if defined (__ACE_INLINE__)