2 * Copyright (C) 2008 Martin Willi
3 * Copyright (C) 2008 Dan Williams
5 * Based on NetworkManager's vpnc plugin
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 #ifndef _NM_STRONGSWAN_PLUGIN_H_
19 #define _NM_STRONGSWAN_PLUGIN_H_
21 #include <glib-object.h>
23 #define STRONGSWAN_TYPE_PLUGIN_UI (strongswan_plugin_ui_get_type ())
24 #define STRONGSWAN_PLUGIN_UI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), STRONGSWAN_TYPE_PLUGIN_UI, StrongswanPluginUi))
25 #define STRONGSWAN_PLUGIN_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), STRONGSWAN_TYPE_PLUGIN_UI, StrongswanPluginUiClass))
26 #define STRONGSWAN_IS_PLUGIN_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), STRONGSWAN_TYPE_PLUGIN_UI))
27 #define STRONGSWAN_IS_PLUGIN_UI_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), STRONGSWAN_TYPE_PLUGIN_UI))
28 #define STRONGSWAN_PLUGIN_UI_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), STRONGSWAN_TYPE_PLUGIN_UI, StrongswanPluginUiClass))
30 typedef struct _StrongswanPluginUi StrongswanPluginUi
;
31 typedef struct _StrongswanPluginUiClass StrongswanPluginUiClass
;
33 struct _StrongswanPluginUi
{
37 struct _StrongswanPluginUiClass
{
41 GType
strongswan_plugin_ui_get_type (void);
43 #endif /* _NM_STRONGSWAN_PLUGIN_H_ */