~noskcaj/ubuntu/wily/epiphany-browser/merge

« back to all changes in this revision

Viewing changes to lib/ephy-module.h

  • Committer: Package Import Robot
  • Author(s): Gustavo Noronha Silva
  • Date: 2013-03-20 20:45:41 UTC
  • mto: (120.1.2 experimental) (1.10.1) (105.1.14 sid)
  • mto: This revision was merged to the branch mainline in revision 121.
  • Revision ID: package-import@ubuntu.com-20130320204541-0t2adqjzvpflkni2
Tags: upstream-3.7.91
Import upstream version 3.7.91

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  Copyright © 2003 Marco Pesenti Gritti
3
 
 *  Copyright © 2003, 2004 Christian Persch
4
 
 *
5
 
 *  This program is free software; you can redistribute it and/or modify
6
 
 *  it under the terms of the GNU General Public License as published by
7
 
 *  the Free Software Foundation; either version 2, or (at your option)
8
 
 *  any later version.
9
 
 *
10
 
 *  This program is distributed in the hope that it will be useful,
11
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 *  GNU General Public License for more details.
14
 
 *
15
 
 *  You should have received a copy of the GNU General Public License
16
 
 *  along with this program; if not, write to the Free Software
17
 
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
 
 *
19
 
 */
20
 
 
21
 
#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)
22
 
#error "Only <epiphany/epiphany.h> can be included directly."
23
 
#endif
24
 
 
25
 
#ifndef EPHY_MODULE_H
26
 
#define EPHY_MODULE_H
27
 
 
28
 
#include <glib-object.h>
29
 
 
30
 
G_BEGIN_DECLS
31
 
 
32
 
#define EPHY_TYPE_MODULE                (ephy_module_get_type ())
33
 
#define EPHY_MODULE(obj)                (G_TYPE_CHECK_INSTANCE_CAST ((obj), EPHY_TYPE_MODULE, EphyModule))
34
 
#define EPHY_MODULE_CLASS(klass)        (G_TYPE_CHECK_CLASS_CAST ((klass), EPHY_TYPE_MODULE, EphyModuleClass))
35
 
#define EPHY_IS_MODULE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EPHY_TYPE_MODULE))
36
 
#define EPHY_IS_MODULE_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE ((obj), EPHY_TYPE_MODULE))
37
 
#define EPHY_MODULE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), EPHY_TYPE_MODULE, EphyModuleClass))
38
 
 
39
 
typedef struct _EphyModule      EphyModule;
40
 
 
41
 
GType            ephy_module_get_type   (void);
42
 
 
43
 
EphyModule      *ephy_module_new        (const char *path,
44
 
                                         gboolean resident);
45
 
 
46
 
const char      *ephy_module_get_path   (EphyModule *module);
47
 
 
48
 
GObject         *ephy_module_new_object (EphyModule *module);
49
 
 
50
 
G_END_DECLS
51
 
 
52
 
#endif