Index: core/include/fxge/fx_font.h |
diff --git a/core/include/fxge/fx_font.h b/core/include/fxge/fx_font.h |
index 8744919cf800c2c6edb58d048fd0f8e7d1ff491f..73292a0fd1a8ed25b673001ecf55216d400a9a3b 100644 |
--- a/core/include/fxge/fx_font.h |
+++ b/core/include/fxge/fx_font.h |
@@ -274,6 +274,7 @@ public: |
class IFX_FontEnumerator |
{ |
public: |
+ virtual ~IFX_FontEnumerator() { } |
virtual void HitFont() = 0; |
@@ -282,6 +283,7 @@ public: |
class IFX_AdditionalFontEnum |
{ |
public: |
+ virtual ~IFX_AdditionalFontEnum() { } |
virtual int CountFiles() = 0; |
virtual IFX_FileStream* GetFontFile(int index) = 0; |
}; |
@@ -328,6 +330,7 @@ class IFX_SystemFontInfo : public CFX_Object |
public: |
static IFX_SystemFontInfo* CreateDefault(); |
virtual void Release() = 0; |
+ |
virtual FX_BOOL EnumFontList(CFX_FontMapper* pMapper) = 0; |
virtual void* MapFont(int weight, FX_BOOL bItalic, int charset, int pitch_family, FX_LPCSTR face, FX_BOOL& bExact) = 0; |
virtual void* MapFontByUnicode(FX_DWORD dwUnicode, int weight, FX_BOOL bItalic, int pitch_family) |
@@ -347,6 +350,8 @@ public: |
{ |
return NULL; |
} |
+protected: |
+ ~IFX_SystemFontInfo() { } |
}; |
class CFX_FolderFontInfo : public IFX_SystemFontInfo |
{ |
@@ -460,6 +465,9 @@ class IFX_GSUBTable |
public: |
virtual void Release() = 0; |
virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, FX_DWORD* vglyphnum) = 0; |
+ |
+protected: |
+ ~IFX_GSUBTable() { } |
}; |
IFX_GSUBTable* FXGE_CreateGSUBTable(CFX_Font* pFont); |
#endif |