// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _OSD_Localizer_HeaderFile #define _OSD_Localizer_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif //! Define the locale.
class OSD_Localizer { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Set locale
Standard_EXPORT OSD_Localizer(const Standard_Integer Category,const Standard_CString Locale); //! Restore previously locale
Standard_EXPORT void Restore() ; //! Set locale
Standard_EXPORT void SetLocale(const Standard_Integer Category,const Standard_CString Locale) ; //! Get locale
Standard_EXPORT Standard_CString Locale() const; //! Get Gategory
Standard_EXPORT Standard_Integer Category() const; protected: private: Standard_CString myLocale; Standard_Integer myCategory; }; // other Inline functions and methods (like "C++: function call" methods) #endif