summaryrefslogtreecommitdiff
path: root/src/fontpack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontpack.h')
-rw-r--r--src/fontpack.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/fontpack.h b/src/fontpack.h
index 2fdfa9ab..fb8d757e 100644
--- a/src/fontpack.h
+++ b/src/fontpack.h
@@ -148,12 +148,21 @@ struct Impl_FontPackId {
148void setReadOnly_FontPack (iFontPack *, iBool readOnly); 148void setReadOnly_FontPack (iFontPack *, iBool readOnly);
149void setStandalone_FontPack (iFontPack *, iBool standalone); 149void setStandalone_FontPack (iFontPack *, iBool standalone);
150void setLoadPath_FontPack (iFontPack *, const iString *path); 150void setLoadPath_FontPack (iFontPack *, const iString *path);
151void setUrl_FontPack (iFontPack *, const iString *url);
151iBool loadArchive_FontPack (iFontPack *, const iArchive *zip); 152iBool loadArchive_FontPack (iFontPack *, const iArchive *zip);
152iBool detect_FontPack (const iBlock *data); 153iBool detect_FontPack (const iBlock *data);
153 154
154iFontPackId id_FontPack (const iFontPack *); 155iFontPackId id_FontPack (const iFontPack *);
155const iPtrArray * listSpecs_FontPack (const iFontPack *); 156const iString * loadPath_FontPack (const iFontPack *); /* may return NULL */
157iBool isDisabled_FontPack (const iFontPack *);
156iBool isReadOnly_FontPack (const iFontPack *); 158iBool isReadOnly_FontPack (const iFontPack *);
159const iPtrArray * listSpecs_FontPack (const iFontPack *);
160iString * infoText_FontPack (const iFontPack *);
161const iArray * actions_FontPack (const iFontPack *);
162
163const iString * idFromUrl_FontPack (const iString *url);
164
165/*----------------------------------------------------------------------------------------------*/
157 166
158iDeclareType(GmDocument) 167iDeclareType(GmDocument)
159 168
@@ -170,8 +179,6 @@ const iString * infoPage_Fonts (void);
170void install_Fonts (const iString *fontId, const iBlock *data); 179void install_Fonts (const iString *fontId, const iBlock *data);
171void reload_Fonts (void); 180void reload_Fonts (void);
172 181
173iBool preloadLocalFontpackForPreview_Fonts (iGmDocument *doc);
174
175iLocalDef iBool isInstalled_Fonts(const char *packId) { 182iLocalDef iBool isInstalled_Fonts(const char *packId) {
176 return pack_Fonts(packId) != NULL; 183 return pack_Fonts(packId) != NULL;
177} 184}