~ubuntu-branches/ubuntu/raring/gedit-plugins/raring-proposed

« back to all changes in this revision

Viewing changes to plugins/charmap/gedit-charmap-plugin.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2011-07-22 20:45:45 UTC
  • mfrom: (1.1.26 upstream)
  • mto: (7.3.1 sid) (1.4.8)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20110722204545-15t6eui58z5tdb6l
Tags: upstream-3.0.5
Import upstream version 3.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * gedit-charmap-plugin.h - Character map side-pane for gedit
3
 
 * 
4
 
 * Copyright (C) 2006 Steve Frécinaux
5
 
 *
6
 
 * This program is free software; you can redistribute it and/or modify
7
 
 * it under the terms of the GNU General Public License as published by
8
 
 * the Free Software Foundation; either version 2, or (at your option)
9
 
 * any later version.
10
 
 *
11
 
 * This program is distributed in the hope that it will be useful,
12
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 * GNU General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU General Public License
17
 
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
 
 *
20
 
 * $Id$
21
 
 */
22
 
 
23
 
#ifndef __GEDIT_CHARMAP_PLUGIN_H__
24
 
#define __GEDIT_CHARMAP_PLUGIN_H__
25
 
 
26
 
#include <glib.h>
27
 
#include <glib-object.h>
28
 
#include <gedit/gedit-plugin.h>
29
 
 
30
 
G_BEGIN_DECLS
31
 
 
32
 
/*
33
 
 * Type checking and casting macros
34
 
 */
35
 
#define GEDIT_TYPE_CHARMAP_PLUGIN               (gedit_charmap_plugin_get_type ())
36
 
#define GEDIT_CHARMAP_PLUGIN(o)                 (G_TYPE_CHECK_INSTANCE_CAST ((o), GEDIT_TYPE_CHARMAP_PLUGIN, GeditCharmapPlugin))
37
 
#define GEDIT_CHARMAP_PLUGIN_CLASS(k)           (G_TYPE_CHECK_CLASS_CAST((k), GEDIT_TYPE_CHARMAP_PLUGIN, GeditCharmapPluginClass))
38
 
#define GEDIT_IS_CHARMAP_PLUGIN(o)              (G_TYPE_CHECK_INSTANCE_TYPE ((o), GEDIT_TYPE_CHARMAP_PLUGIN))
39
 
#define GEDIT_IS_CHARMAP_PLUGIN_CLASS(k)        (G_TYPE_CHECK_CLASS_TYPE ((k), GEDIT_TYPE_CHARMAP_PLUGIN))
40
 
#define GEDIT_CHARMAP_PLUGIN_GET_CLASS(o)       (G_TYPE_INSTANCE_GET_CLASS ((o), GEDIT_TYPE_CHARMAP_PLUGIN, GeditCharmapPluginClass))
41
 
 
42
 
/* Private structure type */
43
 
typedef struct _GeditCharmapPluginPrivate       GeditCharmapPluginPrivate;
44
 
 
45
 
/*
46
 
 * Main object structure
47
 
 */
48
 
typedef struct _GeditCharmapPlugin              GeditCharmapPlugin;
49
 
 
50
 
struct _GeditCharmapPlugin
51
 
{
52
 
        GeditPlugin parent_instance;
53
 
};
54
 
 
55
 
/*
56
 
 * Class definition
57
 
 */
58
 
typedef struct _GeditCharmapPluginClass GeditCharmapPluginClass;
59
 
 
60
 
struct _GeditCharmapPluginClass
61
 
{
62
 
        GeditPluginClass parent_class;
63
 
};
64
 
 
65
 
/*
66
 
 * Public methods
67
 
 */
68
 
GType   gedit_charmap_plugin_get_type   (void) G_GNUC_CONST;
69
 
 
70
 
/* All the plugins must implement this function */
71
 
G_MODULE_EXPORT GType register_gedit_plugin (GTypeModule *module);
72
 
 
73
 
G_END_DECLS
74
 
 
75
 
#endif /* __GEDIT_CHARMAP_PLUGIN_H__ */