diff options
Diffstat (limited to 'src/app.h')
-rw-r--r-- | src/app.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -67,6 +67,7 @@ enum iUserEventCode { | |||
67 | take, it could turn into a tap-and-hold for example. */ | 67 | take, it could turn into a tap-and-hold for example. */ |
68 | widgetTapBegins_UserEventCode, | 68 | widgetTapBegins_UserEventCode, |
69 | widgetTouchEnds_UserEventCode, /* finger lifted, but momentum may continue */ | 69 | widgetTouchEnds_UserEventCode, /* finger lifted, but momentum may continue */ |
70 | releaseObject_UserEventCode, /* object that needs releasing in the main thread */ | ||
70 | }; | 71 | }; |
71 | 72 | ||
72 | const iString *execPath_App (void); | 73 | const iString *execPath_App (void); |
@@ -97,6 +98,7 @@ iPeriodic * periodic_App (void); | |||
97 | iDocumentWidget * document_App (void); | 98 | iDocumentWidget * document_App (void); |
98 | iObjectList * listDocuments_App (const iRoot *rootOrNull); /* NULL for all roots */ | 99 | iObjectList * listDocuments_App (const iRoot *rootOrNull); /* NULL for all roots */ |
99 | iStringSet * listOpenURLs_App (void); /* all tabs */ | 100 | iStringSet * listOpenURLs_App (void); /* all tabs */ |
101 | iPtrArray * listWindows_App (void); | ||
100 | iDocumentWidget * newTab_App (const iDocumentWidget *duplicateOf, iBool switchToNew); | 102 | iDocumentWidget * newTab_App (const iDocumentWidget *duplicateOf, iBool switchToNew); |
101 | void trimCache_App (void); | 103 | void trimCache_App (void); |
102 | void trimMemory_App (void); | 104 | void trimMemory_App (void); |
@@ -121,6 +123,14 @@ iAny * findWidget_App (const char *id); | |||
121 | void addTicker_App (iTickerFunc ticker, iAny *context); | 123 | void addTicker_App (iTickerFunc ticker, iAny *context); |
122 | void addTickerRoot_App (iTickerFunc ticker, iRoot *root, iAny *context); | 124 | void addTickerRoot_App (iTickerFunc ticker, iRoot *root, iAny *context); |
123 | void removeTicker_App (iTickerFunc ticker, iAny *context); | 125 | void removeTicker_App (iTickerFunc ticker, iAny *context); |
126 | void addWindow_App (iMainWindow *win); | ||
127 | void removeWindow_App (iMainWindow *win); | ||
128 | void setActiveWindow_App (iMainWindow *win); | ||
129 | void closeWindow_App (iMainWindow *win); | ||
130 | size_t numWindows_App (void); | ||
131 | size_t windowIndex_App (const iMainWindow *win); | ||
132 | iMainWindow *newMainWindow_App (void); | ||
133 | const iPtrArray *mainWindows_App(void); | ||
124 | void addPopup_App (iWindow *popup); | 134 | void addPopup_App (iWindow *popup); |
125 | void removePopup_App (iWindow *popup); | 135 | void removePopup_App (iWindow *popup); |
126 | void postRefresh_App (void); | 136 | void postRefresh_App (void); |
@@ -142,6 +152,7 @@ iDocumentWidget * document_Command (const char *cmd); | |||
142 | void openInDefaultBrowser_App(const iString *url); | 152 | void openInDefaultBrowser_App(const iString *url); |
143 | void revealPath_App (const iString *path); | 153 | void revealPath_App (const iString *path); |
144 | void resetFonts_App (void); | 154 | void resetFonts_App (void); |
155 | void availableFontsChanged_App(void); | ||
145 | 156 | ||
146 | iMainWindow * mainWindow_App (void); | 157 | iMainWindow * mainWindow_App (void); |
147 | void closePopups_App (void); | 158 | void closePopups_App (iBool doForce); |