27 #ifndef _ODDB_BASEHOSTAPPSERVICES_INCLUDED_
28 #define _ODDB_BASEHOSTAPPSERVICES_INCLUDED_
58 typedef unsigned long LCID;
102 kCompiledShapeFile = 2,
103 kTrueTypeFontFile = 3,
104 kEmbeddedImageFile = 4,
110 kTextureMapFile = 10,
111 kPhotometricWebFile = 11
116 kUseSoftwareHLR = (1 << 0),
117 kFor2dExportRender = (1 << 1),
118 kFor2dExportRenderHLR = (1 << 2),
119 kForThumbnail = (1 << 3)
298 const char* warnVisGroup,
316 const char* warnVisGroup,
331 unsigned int errorCode);
338 unsigned int errorCode,...);
344 virtual OdString formatMessage(
unsigned int errorCode,
long i,
const OdString& str) {
return formatMessage(errorCode, i, (
void*)str.
c_str()); }
381 int printDest)
const;
OdSmartPtr< OdGsDevice > OdGsDevicePtr
OdSmartPtr< OdDbBaseHostAppServices > OdDbBaseHostAppServicesPtr
OdSmartPtr< OdDbUndoController > OdDbUndoControllerPtr
virtual ProdIdCode prodcode()
virtual OdString getPreferableFont(const OdString &fontName, OdFontType fontType)=0
virtual OdGsDevicePtr gsBitmapDevice(OdRxObject *pViewObj=NULL, OdDbBaseDatabase *pDb=NULL, OdUInt32 flags=0)
virtual void warning(const char *warnVisGroup, const OdString &message)
virtual void warning(const OdString &message)
virtual OdString findFile(const OdString &filename, OdDbBaseDatabase *pDb=0, FindFileHint hint=kDefault)=0
virtual void warning(OdWarning warningOb)
virtual int numThreads(OdDb::MultiThreadedMode mtMode)
virtual const OdString releaseMajorMinorString()
virtual OdInt16 getMtMode() const
virtual bool getSystemFontFolders(OdStringArray &aDirs)
virtual const OdString companyName()=0
virtual const OdString versionString()
virtual const OdString program()=0
virtual OdString getSubstituteFontByChar(const OdFont &pFont, OdChar unicodeChar, OdDbBaseDatabase *pDb)
virtual int releaseMajorVersion()
virtual void warning(const char *warnVisGroup, OdWarning warningOb)
virtual OdDbUndoControllerPtr newUndoController()
virtual const OdString product()=0
virtual bool ttfFileNameByDescriptor(const OdTtfDescriptor &description, OdString &filename)
virtual void releaseProgressMeter(OdDbHostAppProgressMeter *pProgressMeter)
virtual OdDbHostAppProgressMeter * newProgressMeter()
virtual OdString getTempPath() const
virtual OdString getSubstituteFont(const OdString &fontName, OdFontType fontType)=0
virtual OdStreamBufPtr newUndoStream()
virtual void collectFilePathsInDirectory(OdStringArray &res, const OdString &sPath, const OdString &sFilter=L"*.*")
ODRX_DECLARE_MEMBERS(OdDbBaseHostAppServices)
virtual int releaseMinorVersion()
OdDbBaseHostAppServices()
virtual void auditPrintReport(OdAuditInfo *pAuditInfo, const OdString &strLine, int printDest) const
virtual OdString getErrorDescription(unsigned int errorCode)
virtual OdResult brepBuilder(OdBrepBuilder &bbuilder, BrepType bbType)
virtual OdString getAlternateFontName() const =0
virtual OdString fileDialog(int flags, const OdString &dialogCaption=OdString::kEmpty, const OdString &defExt=OdString::kEmpty, const OdString &defFilename=OdString::kEmpty, const OdString &filter=OdString::kEmpty)
virtual OdString formatMessage(unsigned int errorCode,...)
virtual OdString getFontMapFileName() const =0
const OdChar * c_str() const
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty