diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-21 11:00:25 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-21 11:01:30 +0100 |
commit | c77bccccb817dd5cfddeb8eda5466ad953164749 (patch) | |
tree | 7842a9feba6ae74d58ee211c8642591202d413c9 /fastiv-browser.h | |
parent | 6dd0414d0a16bc4674985613cef4a8f7ff315825 (diff) | |
download | fiv-c77bccccb817dd5cfddeb8eda5466ad953164749.tar.gz fiv-c77bccccb817dd5cfddeb8eda5466ad953164749.tar.xz fiv-c77bccccb817dd5cfddeb8eda5466ad953164749.zip |
Implement filtering by supported extensions
Diffstat (limited to 'fastiv-browser.h')
-rw-r--r-- | fastiv-browser.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fastiv-browser.h b/fastiv-browser.h index 261ae3d..66d75ee 100644 --- a/fastiv-browser.h +++ b/fastiv-browser.h @@ -22,4 +22,7 @@ #define FASTIV_TYPE_BROWSER (fastiv_browser_get_type()) G_DECLARE_FINAL_TYPE(FastivBrowser, fastiv_browser, FASTIV, BROWSER, GtkWidget) -void fastiv_browser_load(FastivBrowser *self, const char *path); +typedef gboolean (*FastivBrowserFilterCallback) (const char *); + +void fastiv_browser_load( + FastivBrowser *self, FastivBrowserFilterCallback cb, const char *path); |