25 #ifndef _ODRXSYSTEMSERVICES_INCLUDED_
26 #define _ODRXSYSTEMSERVICES_INCLUDED_
33 #if defined(_DEBUG) && defined(_WIN32)
34 #define STL_USING_VECTOR
186 #if defined _WIN32_WCE
187 srand(GetTickCount());
383 #if defined(_DEBUG) && defined(_WIN32)
384 static void dontFreeLibrary(std::vector<HMODULE>* notFreedDlls) { s_notFreedDlls = notFreedDlls; }
#define FIRSTDLL_EXPORT_STATIC
FIRSTDLL_EXPORT OdRxSystemServices * odrxSystemServices()
OdSmartPtr< OdRxSystemServices > OdRxSystemServicesPtr
OdSmartPtr< OdRxDictionary > OdRxDictionaryPtr
OdError_CantOpenFile(const OdString &filename)
OdString getFileName() const
OdError_FileException(OdResult code, const OdString &filename, const OdString &extended=OdString::kEmpty)
OdError_FileNotFound(const OdString &filename)
OdError_FileWriteError(const OdString &filename)
virtual OdCodePageId systemCodePage() const =0
virtual OdStreamBufPtr createFile(const OdString &filename, Oda::FileAccessMode accessMode=Oda::kFileRead, Oda::FileShareMode shareMode=Oda::kShareDenyNo, Oda::FileCreationDisposition creationDisposition=Oda::kOpenExisting)
static OdRxModule * loadModuleLib(const OdString &moduleFileName, bool silent)
virtual OdString formatMessage(unsigned int formatId, va_list *argList=0)=0
virtual void warning(const char *warnVisGroup, const OdString &message)
virtual OdInt64 getFileSize(const OdString &filename)=0
virtual void unloadModule(OdRxModule *pModuleObj)
virtual OdGUID createOdGUID()
virtual OdResult uninitModelerLibrary(OdRxDictionary *pDict)
virtual void warning(const OdString &message)
virtual bool accessFile(const OdString &filename, int accessMode)
virtual OdResult initModelerLibrary(OdRxDictionary *pDict)
virtual OdInt64 getFileMTime(const OdString &filename)=0
virtual OdRxModule * loadModule(const OdString &moduleFileName, bool silent)
virtual OdString createGuid()
virtual OdString formatMsg(unsigned int formatId,...)
virtual OdString findModule(const OdString &applicationName)
virtual OdInt64 getFileCTime(const OdString &filename)=0
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty