CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
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;
604 #endif // _ODDB_BASEHOSTAPPSERVICES_INCLUDED_
virtual const OdString product()=0
virtual void releaseProgressMeter(OdDbHostAppProgressMeter *pProgressMeter)
virtual OdStreamBufPtr newUndoStream()
virtual void warning(const char *warnVisGroup, OdWarning warningOb)
virtual int numThreads(OdDb::MultiThreadedMode mtMode)
virtual OdString getSubstituteFontByChar(const OdFont &pFont, OdChar unicodeChar, OdDbBaseDatabase *pDb)
virtual void collectFilePathsInDirectory(OdStringArray &res, const OdString &sPath, const OdString &sFilter=L"*.*")
virtual OdString formatMessage(unsigned int errorCode,...)
virtual OdString getFontMapFileName() const =0
OdSmartPtr< OdDbBaseHostAppServices > OdDbBaseHostAppServicesPtr
virtual void auditPrintReport(OdAuditInfo *pAuditInfo, const OdString &strLine, int printDest) const
virtual OdString getAlternateFontName() const =0
virtual int releaseMinorVersion()
virtual void warning(OdWarning warningOb)
virtual bool getSystemFontFolders(OdStringArray &aDirs)
virtual bool ttfFileNameByDescriptor(const OdTtfDescriptor &description, OdString &filename)
virtual ProdIdCode prodcode()
virtual OdDbHostAppProgressMeter * newProgressMeter()
virtual const OdString companyName()=0
virtual const OdString program()=0
virtual int releaseMajorVersion()
virtual OdDbUndoControllerPtr newUndoController()
virtual OdString getTempPath() const
virtual OdString getPreferableFont(const OdString &fontName, OdFontType fontType)=0
virtual OdGsDevicePtr gsBitmapDevice(OdRxObject *pViewObj=NULL, OdDbBaseDatabase *pDb=NULL, OdUInt32 flags=0)
OdDbBaseHostAppServices()
virtual void warning(const OdString &message)
virtual const OdString releaseMajorMinorString()
OdSmartPtr< OdGsDevice > OdGsDevicePtr
virtual const OdString versionString()
virtual OdInt16 getMtMode() const
OdSmartPtr< OdDbUndoController > OdDbUndoControllerPtr
virtual OdResult brepBuilder(OdBrepBuilder &bbuilder, BrepType bbType)
virtual OdString findFile(const OdString &filename, OdDbBaseDatabase *pDb=0, FindFileHint hint=kDefault)=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)
ODRX_DECLARE_MEMBERS(OdDbBaseHostAppServices)
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
const OdChar * c_str() const
virtual OdString getErrorDescription(unsigned int errorCode)
virtual void warning(const char *warnVisGroup, const OdString &message)
virtual OdString getSubstituteFont(const OdString &fontName, OdFontType fontType)=0