1 /*
2  * vinagre-spice-plugin.h
3  * This file is part of vinagre
4  *
5  * Copyright (C) 2011 Red Hat, Inc.
6  * Author: Marc-Andre Lureau <marcandre.lureau@redhat.com>
7  *
8  * vinagre-spice-plugin.h is free software: you can redistribute it and/or modify it
9  * under the terms of the GNU General Public License as published by the
10  * Free Software Foundation, either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * vinagre-spice-plugin.h is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with this program.  If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef __VINAGRE_SPICE_PLUGIN_H__
23 #define __VINAGRE_SPICE_PLUGIN_H__
24 
25 #include <glib.h>
26 #include <glib-object.h>
27 
28 #include "vinagre/vinagre-static-extension.h"
29 
30 G_BEGIN_DECLS
31 
32 /*
33  * Type checking and casting macros
34  */
35 #define VINAGRE_TYPE_SPICE_PLUGIN                 (vinagre_spice_plugin_get_type ())
36 #define VINAGRE_SPICE_PLUGIN(o)                   (G_TYPE_CHECK_INSTANCE_CAST ((o), VINAGRE_TYPE_SPICE_PLUGIN, VinagreSpicePlugin))
37 #define VINAGRE_SPICE_PLUGIN_CLASS(k)             (G_TYPE_CHECK_CLASS_CAST((k), VINAGRE_TYPE_SPICE_PLUGIN, VinagreSpicePluginClass))
38 #define VINAGRE_IS_SPICE_PLUGIN(o)                (G_TYPE_CHECK_INSTANCE_TYPE ((o), VINAGRE_TYPE_SPICE_PLUGIN))
39 #define VINAGRE_IS_SPICE_PLUGIN_CLASS(k)          (G_TYPE_CHECK_CLASS_TYPE ((k), VINAGRE_TYPE_SPICE_PLUGIN))
40 #define VINAGRE_SPICE_PLUGIN_GET_CLASS(o)         (G_TYPE_INSTANCE_GET_CLASS ((o), VINAGRE_TYPE_SPICE_PLUGIN, VinagreSpicePluginClass))
41 
42 typedef struct _VinagreSpicePlugin	VinagreSpicePlugin;
43 typedef struct _VinagreSpicePluginClass	VinagreSpicePluginClass;
44 
45 struct _VinagreSpicePlugin
46 {
47   VinagreStaticExtension parent_instance;
48 };
49 
50 struct _VinagreSpicePluginClass
51 {
52   VinagreStaticExtensionClass parent_class;
53 };
54 
55 GType vinagre_spice_plugin_get_type (void) G_GNUC_CONST;
56 
57 G_END_DECLS
58 
59 #endif /* __VINAGRE_SPICE_PLUGIN_H__ */
60 
61 /* vim: set ts=8: */
62