summaryrefslogtreecommitdiff
path: root/src/app.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-12-02 07:26:33 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-12-02 07:26:33 +0200
commitcface45b7cfd084f65ead1d5bfa6ecdc639d7017 (patch)
tree0c2b7f900ee3f116474f9789173b60423b98cf4f /src/app.h
parent5b147a3976fcf007a75e9b16cc0cea96011f2e9b (diff)
Added MimeHooks
This is a very powerful mechanism: translate the contents of any request to something else when the original MIME type matches a configured regexp. The external hook command may still elect not to process the request.
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 05341523..bc086dfe 100644
--- a/src/app.h
+++ b/src/app.h
@@ -34,6 +34,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
34iDeclareType(Bookmarks) 34iDeclareType(Bookmarks)
35iDeclareType(DocumentWidget) 35iDeclareType(DocumentWidget)
36iDeclareType(GmCerts) 36iDeclareType(GmCerts)
37iDeclareType(MimeHooks)
37iDeclareType(Visited) 38iDeclareType(Visited)
38iDeclareType(Window) 39iDeclareType(Window)
39 40
@@ -65,6 +66,7 @@ enum iColorTheme colorTheme_App (void);
65const iString * schemeProxy_App (iRangecc scheme); 66const iString * schemeProxy_App (iRangecc scheme);
66iBool willUseProxy_App (const iRangecc scheme); 67iBool willUseProxy_App (const iRangecc scheme);
67 68
69iMimeHooks * mimeHooks_App (void);
68iGmCerts * certs_App (void); 70iGmCerts * certs_App (void);
69iVisited * visited_App (void); 71iVisited * visited_App (void);
70iBookmarks * bookmarks_App (void); 72iBookmarks * bookmarks_App (void);