diff options
author | Crispin Flowerday <gnome@flowerday.cx> | 2005-01-02 05:32:57 +0800 |
---|---|---|
committer | Crispin Flowerday <crispin@src.gnome.org> | 2005-01-02 05:32:57 +0800 |
commit | 8999f2e890891e4286f501d2076716d523c7d169 (patch) | |
tree | fb44fc505779c839c0ee36dbf9d82772f8e470cb /embed/mozilla/EphySidebar.h | |
parent | 478e8b73f9a7302f0c30aaa685fc3104b99d7480 (diff) | |
download | gsoc2013-epiphany-8999f2e890891e4286f501d2076716d523c7d169.tar gsoc2013-epiphany-8999f2e890891e4286f501d2076716d523c7d169.tar.gz gsoc2013-epiphany-8999f2e890891e4286f501d2076716d523c7d169.tar.bz2 gsoc2013-epiphany-8999f2e890891e4286f501d2076716d523c7d169.tar.lz gsoc2013-epiphany-8999f2e890891e4286f501d2076716d523c7d169.tar.xz gsoc2013-epiphany-8999f2e890891e4286f501d2076716d523c7d169.tar.zst gsoc2013-epiphany-8999f2e890891e4286f501d2076716d523c7d169.zip |
Add an "add-sidebar" signal on the EphyEmbedSingle interface, it gets
2005-01-01 Crispin Flowerday <gnome@flowerday.cx>
* embed/ephy-embed-single.c: (ephy_embed_single_iface_init):
* embed/ephy-embed-single.h:
* embed/mozilla/EphySidebar.cpp:
* embed/mozilla/EphySidebar.h:
* embed/mozilla/Makefile.am:
* embed/mozilla/MozRegisterComponents.cpp:
Add an "add-sidebar" signal on the EphyEmbedSingle interface,
it gets emitted when a user clicks on a link that wants
to add a url to the sidebar.
Diffstat (limited to 'embed/mozilla/EphySidebar.h')
-rw-r--r-- | embed/mozilla/EphySidebar.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/embed/mozilla/EphySidebar.h b/embed/mozilla/EphySidebar.h new file mode 100644 index 000000000..fe5b98a48 --- /dev/null +++ b/embed/mozilla/EphySidebar.h @@ -0,0 +1,53 @@ +/* + * Copyright (C) 2002 Philip Langdale + * Copyright (C) 2004 Crispin Flowerday + * + * 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. + * + * $Id$ + */ + +#ifndef EPHY_SIDEBAR_H +#define EPHY_SIDEBAR_H + +#include <nsISidebar.h> +#include <nsIClassInfo.h> +#include <nsError.h> + +#define EPHY_SIDEBAR_CLASSNAME \ + "Epiphany's Sidebar Implementation" + +#define EPHY_SIDEBAR_CID \ +{ /* {50f13159-f9b9-44b3-b18e-6ee5d85a202a} */ \ + 0x50f13159, \ + 0xf9b9, \ + 0x44b3, \ + {0xb1, 0x8e, 0x6e, 0xe5, 0xd8, 0x5a, 0x20, 0x2a} \ +} + +class EphySidebar : public nsISidebar, nsIClassInfo +{ + public: + NS_DECL_ISUPPORTS + NS_DECL_NSICLASSINFO + NS_DECL_NSISIDEBAR + + EphySidebar(); + virtual ~EphySidebar(); + private: +}; + +#endif /* ! EPHY_SIDEBAR_H */ + |