diff options
author | Xan Lopez <xan@igalia.com> | 2012-01-20 18:57:36 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-01-20 18:57:36 +0800 |
commit | 92946fbb88977b544903982c3bb19f5423e3bdbd (patch) | |
tree | 438ea7dccd83184572e07cc58a98e09d2705ef6a /src/ephy-private.h | |
parent | c204b24e6014a42498fa710fa8b47df7a6990fd6 (diff) | |
download | gsoc2013-epiphany-92946fbb88977b544903982c3bb19f5423e3bdbd.tar gsoc2013-epiphany-92946fbb88977b544903982c3bb19f5423e3bdbd.tar.gz gsoc2013-epiphany-92946fbb88977b544903982c3bb19f5423e3bdbd.tar.bz2 gsoc2013-epiphany-92946fbb88977b544903982c3bb19f5423e3bdbd.tar.lz gsoc2013-epiphany-92946fbb88977b544903982c3bb19f5423e3bdbd.tar.xz gsoc2013-epiphany-92946fbb88977b544903982c3bb19f5423e3bdbd.tar.zst gsoc2013-epiphany-92946fbb88977b544903982c3bb19f5423e3bdbd.zip |
Add a ephy-private.h header
This should hold methods needed by Epiphany internally but that we do
not want to export. Only a couple of them so far, but we should
probably add a lot more.
Diffstat (limited to 'src/ephy-private.h')
-rw-r--r-- | src/ephy-private.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ephy-private.h b/src/ephy-private.h new file mode 100644 index 000000000..f8d0e2c8f --- /dev/null +++ b/src/ephy-private.h @@ -0,0 +1,40 @@ +/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* + * Copyright © 2012 Igalia S.L. + * + * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION) +#error "Only <epiphany/epiphany.h> can be included directly." +#endif + +#ifndef EPHY_PRIVATE_H +#define EPHY_PRIVATE_H + +#include "ephy-location-controller.h" +#include "ephy-window.h" + +#include <gtk/gtk.h> + +/* EphyWindow */ + +GtkActionGroup *ephy_window_get_toolbar_action_group (EphyWindow *window); + +EphyLocationController *ephy_window_get_location_controller (EphyWindow *window); + +#endif + |