summaryrefslogtreecommitdiff
path: root/ACE/ace/Get_Opt.h
diff options
context:
space:
mode:
authorsma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-05 13:46:45 +0000
committersma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-06-05 13:46:45 +0000
commit3ef4475e668a30304da7cbcc11d7a1affaeec6d6 (patch)
tree091726bcbd8b60ccb6c963cbf6458fd823e3b083 /ACE/ace/Get_Opt.h
parent55a7df6a7d689640b0a4fccbbd05a75b42ab3ec3 (diff)
downloadATCD-3ef4475e668a30304da7cbcc11d7a1affaeec6d6.tar.gz
ChangeLogTag: Thu Jun 05 13:45:00 UTC 2008 Simon Massey <sma@prismtech.com>
Diffstat (limited to 'ACE/ace/Get_Opt.h')
-rw-r--r--ACE/ace/Get_Opt.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/ACE/ace/Get_Opt.h b/ACE/ace/Get_Opt.h
index 990b656202a..5c8e9c62888 100644
--- a/ACE/ace/Get_Opt.h
+++ b/ACE/ace/Get_Opt.h
@@ -169,6 +169,7 @@ public:
* xxx" will only find "xxx" as the argument for @e c if @a optstring is
* specified as @c "abc:" not @c "abc::".
*/
+#ifndef ACE_USES_WCHAR
ACE_Get_Opt (int argc,
ACE_TCHAR **argv,
const ACE_TCHAR *optstring = ACE_TEXT (""),
@@ -177,6 +178,25 @@ public:
int ordering = PERMUTE_ARGS,
int long_only = 0);
+#else
+private:
+ void ACE_Get_Opt_Init (const ACE_TCHAR *optstring);
+public:
+ ACE_INLINE ACE_Get_Opt (int argc,
+ ACE_TCHAR **argv,
+ const ACE_TCHAR *optstring = ACE_TEXT (""),
+ int skip_args = 1,
+ int report_errors = 0,
+ int ordering = PERMUTE_ARGS,
+ int long_only = 0);
+ ACE_INLINE ACE_Get_Opt (int argc,
+ ACE_TCHAR **argv,
+ const char *optstring,
+ int skip_args = 1,
+ int report_errors = 0,
+ int ordering = PERMUTE_ARGS,
+ int long_only = 0);
+#endif
/// Default dtor.
~ACE_Get_Opt (void);