Diffstat (limited to 'library/fontfactoryinterface.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | library/fontfactoryinterface.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/library/fontfactoryinterface.h b/library/fontfactoryinterface.h index ed65dfa..68b0be5 100644 --- a/library/fontfactoryinterface.h +++ b/library/fontfactoryinterface.h | |||
@@ -24,18 +24,33 @@ | |||
24 | #include <qstring.h> | 24 | #include <qstring.h> |
25 | #include <qpe/qcom.h> | 25 | #include <qpe/qcom.h> |
26 | 26 | ||
27 | class QFontFactory; | 27 | class QFontFactory; |
28 | 28 | ||
29 | #ifndef QT_NO_COMPONENT | 29 | #ifndef QT_NO_COMPONENT |
30 | // {7F194DD6-FAA3-498F-8F30-9C297A570DFA} | 30 | // {7F194DD6-FAA3-498F-8F30-9C297A570DFA} |
31 | #ifndef IID_FontFactory | 31 | #ifndef IID_FontFactory |
32 | #define IID_FontFactory QUuid( 0x7f194dd6, 0xfaa3, 0x498f, 0x8f, 0x30, 0x9c, 0x29, 0x7a, 0x57, 0x0d, 0xfa) | 32 | #define IID_FontFactory QUuid( 0x7f194dd6, 0xfaa3, 0x498f, 0x8f, 0x30, 0x9c, 0x29, 0x7a, 0x57, 0x0d, 0xfa) |
33 | #endif | 33 | #endif |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | |||
37 | /** | ||
38 | * \brief Interface for additional Font Factories | ||
39 | * | ||
40 | * To add special types of fonts TrueTypes or your very own | ||
41 | * format. If you implement this Interface you can add | ||
42 | * custom font loading. | ||
43 | * | ||
44 | * The dynamic shared object goes to | ||
45 | * OPIEDIR/plugins/fontfactories. | ||
46 | * | ||
47 | * As of version Opie 1.0.2 loading of the plugins is not | ||
48 | * yet implemented | ||
49 | * | ||
50 | */ | ||
36 | struct FontFactoryInterface : public QUnknownInterface | 51 | struct FontFactoryInterface : public QUnknownInterface |
37 | { | 52 | { |
38 | virtual QFontFactory *fontFactory() = 0; | 53 | virtual QFontFactory *fontFactory() = 0; |
39 | }; | 54 | }; |
40 | 55 | ||
41 | #endif | 56 | #endif |