diff options
| Commit | 12cbd061058a5e5a23380fce66169d34af3de746 (patch) | |
|---|---|---|
| Author | 2022-07-19 14:18:16 +0300 | |
| Committer | 2022-07-19 14:18:16 +0300 | |
| Files | 7cabb04515ad4ed21f6f190922ff48c5ad9a23b5 /badwolf.h | |
| goodwolf-12cbd061058a5e5a23380fce66169d34af3de746.tar goodwolf-12cbd061058a5e5a23380fce66169d34af3de746.tar.gz goodwolf-12cbd061058a5e5a23380fce66169d34af3de746.zip | ||
| Parent | ccbc83e827e11c7deb2959a6752452691c4165a1 (diff) | |
code: Renamed codebase to goodwolf
1 files changed, 0 insertions, 51 deletions
| -rw-r--r-- | badwolf.h | 51 |
diff --git a/badwolf.h b/badwolf.h deleted file mode 100644 index f751842..0000000 --- a/badwolf.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef BADWOLF_H_INCLUDED -#define BADWOLF_H_INCLUDED - -#include <gtk/gtk.h> -#include <inttypes.h> /* uint64_t */ -#include <webkit2/webkit2.h> - -#if !WEBKIT_CHECK_VERSION(2, 32, 0) -#error WebkitGTK 2.32.0 is the latest supported version for badwolf. -#endif - -extern const gchar *homepage; -extern const gchar *version; - -struct Window -{ - GtkWidget *main_window; - GtkWidget *notebook; - GtkWidget *new_tab; - GtkWidget *downloads_tab; - WebKitUserContentManager *content_manager; - WebKitUserContentFilterStore *content_store; -}; - -struct Client -{ - GtkWidget *box; - - GtkWidget *toolbar; - GtkWidget *back; - GtkWidget *forward; - GtkWidget *javascript; - GtkWidget *auto_load_images; - GtkWidget *location; - - uint64_t context_id; - WebKitWebView *webView; - struct Window *window; - - GtkWidget *statusbar; - GtkWidget *statuslabel; - GtkWidget *search; -}; - -GtkWidget *badwolf_new_tab_box(const gchar *title, struct Client *browser); -void webView_tab_label_change(struct Client *browser, const gchar *title); -struct Client * -new_browser(struct Window *window, const gchar *target_url, struct Client *old_browser); -int badwolf_new_tab(GtkNotebook *notebook, struct Client *browser, bool auto_switch); -gint badwolf_get_tab_position(GtkContainer *notebook, GtkWidget *child); -#endif /* BADWOLF_H_INCLUDED */ |