diff options
author | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-06-30 12:40:44 +0000 |
---|---|---|
committer | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-06-30 12:40:44 +0000 |
commit | 42d033238aa52a0584d868b37c1c7b3475f954f2 (patch) | |
tree | 965491a039d125e99c551a3927f3662b788cfb52 /ACE/ace/Process.h | |
parent | c5c7c4195d984a1d4ed5d1eaadadf973a6fc668e (diff) | |
download | ATCD-42d033238aa52a0584d868b37c1c7b3475f954f2.tar.gz |
ChangeLogTag: Mon Jun 30 12:41:00 UTC 2008 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'ACE/ace/Process.h')
-rw-r--r-- | ACE/ace/Process.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ACE/ace/Process.h b/ACE/ace/Process.h index 0d209d2e0ab..96f097502af 100644 --- a/ACE/ace/Process.h +++ b/ACE/ace/Process.h @@ -260,6 +260,16 @@ public: /// Get current value for avoid_zombies. int avoid_zombies (void); + /// Enable the use of a Unicode environment. This only makes sense + /// for Win32 when ACE_USES_WCHAR is not defined. + void enable_unicode_environment (void); + + /// Disable the use of a Unicode environment. + void disable_unicode_environment (void); + + /// Return the unicode environment status + bool use_unicode_environment (void) const; + #if defined (ACE_WIN32) // = Non-portable accessors for when you "just have to use them." @@ -427,6 +437,9 @@ protected: /// Pathname for the process. Relative path or absolute path or just /// the program name. ACE_TCHAR process_name_[MAXPATHLEN + 1]; + + /// Indicate if a Unicode environment should be used + bool use_unicode_environment_; }; //class ACE_Process_Manager; @@ -604,6 +617,10 @@ protected: /// Make sure that we're allocated dynamically! virtual ~ACE_Managed_Process (void); +private: +#if defined (ACE_WIN32) && !defined (ACE_USES_WCHAR) && !defined (ACE_HAS_WINCE) + wchar_t* convert_env_buffer (const char* env) const; +#endif }; ACE_END_VERSIONED_NAMESPACE_DECL |