diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-06-04 19:59:38 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-04 19:59:38 +0800 |
commit | 29bbfe00469fe536bbf0f1025cde834cec3bec0b (patch) | |
tree | 63a51af7a1f508ba64b5e0e8bec023eee2af7f98 /src/bookmarks/ephy-bookmarks-menu.h | |
parent | 15358f9939f56b8ba5bc9df4499a72d65535ce41 (diff) | |
download | gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar.gz gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar.bz2 gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar.lz gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar.xz gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.tar.zst gsoc2013-epiphany-29bbfe00469fe536bbf0f1025cde834cec3bec0b.zip |
Implement bookmarks menu, might need to be optimized later.
2003-06-04 Marco Pesenti Gritti <marco@it.gnome.org>
* src/bookmarks/Makefile.am:
* src/bookmarks/ephy-bookmark-action.c: (connect_proxy):
* src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_class_init),
(bookmarks_changed_cb), (bookmarks_removed_cb),
(ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword),
(ephy_bookmarks_get_favorites),
(ephy_bookmarks_get_not_categorized):
* src/bookmarks/ephy-bookmarks.h:
* src/ephy-window.c: (ephy_window_init), (ephy_window_finalize):
Implement bookmarks menu, might need to be optimized later.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-menu.h')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-menu.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmarks-menu.h b/src/bookmarks/ephy-bookmarks-menu.h new file mode 100644 index 000000000..a00185331 --- /dev/null +++ b/src/bookmarks/ephy-bookmarks-menu.h @@ -0,0 +1,58 @@ +/* + * Copyright (C) 2002 Ricardo Fernández Pascual + * + * 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 + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#ifndef EPHY_BOOKMARKS_MENU_H +#define EPHY_BOOKMARKS_MENU_H + +#include "ephy-window.h" + +/* object forward declarations */ + +typedef struct _EphyBookmarksMenu EphyBookmarksMenu; +typedef struct _EphyBookmarksMenuClass EphyBookmarksMenuClass; +typedef struct _EphyBookmarksMenuPrivate EphyBookmarksMenuPrivate; + +/** + * Editor object + */ + +#define EPHY_TYPE_BOOKMARKS_MENU (ephy_bookmarks_menu_get_type()) +#define EPHY_BOOKMARKS_MENU(object) (G_TYPE_CHECK_INSTANCE_CAST((object), EPHY_TYPE_BOOKMARKS_MENU, EphyBookmarksMenu)) +#define EPHY_BOOKMARKS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), EPHY_TYPE_BOOKMARKS_MENU, EphyBookmarksMenuClass)) +#define EPHY_IS_BOOKMARKS_MENU(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), EPHY_TYPE_BOOKMARKS_MENU)) +#define EPHY_IS_BOOKMARKS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EPHY_TYPE_BOOKMARKS_MENU)) +#define EPHY_BOOKMARKS_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_BOOKMARKS_MENU, EphyBookmarksMenuClass)) + +struct _EphyBookmarksMenuClass +{ + GObjectClass parent_class; +}; + +struct _EphyBookmarksMenu +{ + GObject parent_object; + + EphyBookmarksMenuPrivate *priv; +}; + +GType ephy_bookmarks_menu_get_type (void); + +EphyBookmarksMenu *ephy_bookmarks_menu_new (EphyWindow *window); + +#endif + |