summaryrefslogtreecommitdiff
path: root/src/app.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-06-25 16:26:53 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-06-25 16:26:53 +0300
commit5dbc85eaaa1bd0a0fc11dd76a75ece2efe763df5 (patch)
tree9721fb7aced603adb10b9bb3f3beb3f8d5fba973 /src/app.h
parent95c527db1484f7758a180c6de051d0182c3b2e81 (diff)
parentf99a9111170f2ff28383fd3172fdaf4b9a1ba069 (diff)
Merge branch 'work/v1.6' into work/serious-unicode
# Conflicts: # res/fonts/SmolEmoji-Regular.ttf
Diffstat (limited to 'src/app.h')
-rw-r--r--src/app.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app.h b/src/app.h
index 918cd396..5d1d42e1 100644
--- a/src/app.h
+++ b/src/app.h
@@ -86,6 +86,7 @@ uint32_t elapsedSinceLastTicker_App (void); /* milliseconds */
86iBool isLandscape_App (void); 86iBool isLandscape_App (void);
87iLocalDef iBool isPortrait_App (void) { return !isLandscape_App(); } 87iLocalDef iBool isPortrait_App (void) { return !isLandscape_App(); }
88enum iAppDeviceType deviceType_App (void); 88enum iAppDeviceType deviceType_App (void);
89iLocalDef iBool isPortraitPhone_App (void) { return isPortrait_App() && deviceType_App() == phone_AppDeviceType; }
89iGmCerts * certs_App (void); 90iGmCerts * certs_App (void);
90iVisited * visited_App (void); 91iVisited * visited_App (void);
91iBookmarks * bookmarks_App (void); 92iBookmarks * bookmarks_App (void);
@@ -96,6 +97,7 @@ iObjectList * listDocuments_App (const iRoot *rootOrNull); /* NULL for a
96iStringSet * listOpenURLs_App (void); /* all tabs */ 97iStringSet * listOpenURLs_App (void); /* all tabs */
97iDocumentWidget * newTab_App (const iDocumentWidget *duplicateOf, iBool switchToNew); 98iDocumentWidget * newTab_App (const iDocumentWidget *duplicateOf, iBool switchToNew);
98void trimCache_App (void); 99void trimCache_App (void);
100void trimMemory_App (void);
99 101
100iDocumentWidget * document_Root (iRoot *); 102iDocumentWidget * document_Root (iRoot *);
101 103