From fd4f7ff174621461810cf76597a73250ab2cf6fd Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 21 Nov 2003 23:03:32 +0000 Subject: New interfaces: EphyCookieManager, EphyPermissionManager, 2003-11-21 Christian Persch * embed/Makefile.am: * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_new), (ephy_cookie_copy), (ephy_cookie_free), (ephy_cookie_manager_get_type), (ephy_cookie_manager_base_init), (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_class_init), (ephy_embed_single_clear_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_info_new), (ephy_password_info_copy), (ephy_password_info_free), (ephy_password_manager_get_type), (ephy_password_manager_add), (ephy_password_manager_remove), (ephy_password_manager_list): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_info_free), (ephy_permission_manager_get_type), (ephy_permission_manager_base_init), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_clear), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-notifiers.cpp: * src/Makefile.am: * src/pdm-dialog.c: (pdm_dialog_get_type), (pdm_dialog_cookie_add), (pdm_dialog_password_add), (pdm_dialog_cookie_remove), (pdm_dialog_password_remove), (pdm_dialog_cookies_free), (pdm_dialog_passwords_free), (pdm_dialog_init), (pdm_dialog_new), (show_cookies_properties), (pdm_dialog_cookies_properties_button_clicked_cb): * src/pdm-dialog.h: New interfaces: EphyCookieManager, EphyPermissionManager, EphyPasswordManager. Port all callers to new interfaces. Change linking order to make it link. Only set autoconf proxy url if it's non-empty. --- embed/mozilla/mozilla-embed-single.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'embed/mozilla/mozilla-embed-single.h') diff --git a/embed/mozilla/mozilla-embed-single.h b/embed/mozilla/mozilla-embed-single.h index 63ce78267..08732a837 100644 --- a/embed/mozilla/mozilla-embed-single.h +++ b/embed/mozilla/mozilla-embed-single.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2000-2003 Marco Pesenti Gritti + * Copyright (C) 2003 Christian Persch * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +22,8 @@ #ifndef MOZILLA_EMBED_SINGLE_H #define MOZILLA_EMBED_SINGLE_H -#include "glib.h" -#include "ephy-embed-shell.h" +#include "ephy-embed-single.h" + #include G_BEGIN_DECLS @@ -34,20 +35,21 @@ G_BEGIN_DECLS #define MOZILLA_IS_EMBED_SINGLE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), MOZILLA_TYPE_EMBED_SINGLE)) #define MOZILLA_EMBED_SINGLE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), MOZILLA_TYPE_EMBED_SINGLE, MozillaEmbedSingleClass)) -typedef struct MozillaEmbedSingle MozillaEmbedSingle; -typedef struct MozillaEmbedSinglePrivate MozillaEmbedSinglePrivate; +typedef struct MozillaEmbedSingle MozillaEmbedSingle; +typedef struct MozillaEmbedSingleClass MozillaEmbedSingleClass; +typedef struct MozillaEmbedSinglePrivate MozillaEmbedSinglePrivate; struct MozillaEmbedSingle { - EphyEmbedSingle parent; + GObject parent; /*< private >*/ - MozillaEmbedSinglePrivate *priv; + MozillaEmbedSinglePrivate *priv; }; struct MozillaEmbedSingleClass { - EphyEmbedSingleClass parent_class; + GObjectClass parent_class; }; GType mozilla_embed_single_get_type (void); -- cgit v1.2.3