summaryrefslogtreecommitdiff
path: root/ace/Dynamic_Service.h
diff options
context:
space:
mode:
authorjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-04-28 03:50:28 +0000
committerjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-04-28 03:50:28 +0000
commit88556d568eb0a06bf8af2ddefacbc1ad5f00401e (patch)
tree72f4a0e33b9dd26d1783ff005d67494bfb79a9de /ace/Dynamic_Service.h
parent317d8c1ce78436f0107f056418c0c5f5b4231069 (diff)
downloadATCD-88556d568eb0a06bf8af2ddefacbc1ad5f00401e.tar.gz
4_27_06 branch merge in and compile error fixedoci_dave_wchar_refactor_branch
Diffstat (limited to 'ace/Dynamic_Service.h')
-rw-r--r--ace/Dynamic_Service.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/ace/Dynamic_Service.h b/ace/Dynamic_Service.h
index 88ac4115c12..c9dcc8896c2 100644
--- a/ace/Dynamic_Service.h
+++ b/ace/Dynamic_Service.h
@@ -17,6 +17,7 @@
#include /**/ "ace/pre.h"
#include "ace/config-all.h"
+#include "ace/Global_Macros.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
@@ -44,8 +45,27 @@ public:
/// Return instance using @a name to search the Service_Repository.
static TYPE* instance (const char *name);
+ static TYPE* instance (const ACE_Service_Gestalt* repo,
+ const ACE_TCHAR *name);
+
+#if defined (ACE_USES_WCHAR)
+
/// Return instance using @a name to search the Service_Repository.
- static TYPE* instance (const wchar_t *name);
+ static TYPE* instance (const ACE_ANTI_TCHAR *name);
+
+ static TYPE* instance (const ACE_Service_Gestalt* repo,
+ const ACE_ANTI_TCHAR *name);
+#endif // ACE_USES_WCHAR
+
+private:
+ ACE_UNIMPLEMENTED_FUNC
+ (ACE_Dynamic_Service ());
+
+ ACE_UNIMPLEMENTED_FUNC
+ (ACE_Dynamic_Service (const ACE_Dynamic_Service&));
+
+ ACE_UNIMPLEMENTED_FUNC
+ (ACE_Dynamic_Service& operator= (const ACE_Dynamic_Service&));
};
ACE_END_VERSIONED_NAMESPACE_DECL