README: add deprecation notice
[nautilus-actions.git] / src / plugin-menu / fma-menu-plugin.h
blobd039a315df8095404c3ba936262bcbab80bf5d6c
1 /*
2 * FileManager-Actions
3 * A file-manager extension which offers configurable context menu actions.
5 * Copyright (C) 2005 The GNOME Foundation
6 * Copyright (C) 2006-2008 Frederic Ruaudel and others (see AUTHORS)
7 * Copyright (C) 2009-2015 Pierre Wieser and others (see AUTHORS)
9 * FileManager-Actions is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
14 * FileManager-Actions is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with FileManager-Actions; see the file COPYING. If not, see
21 * <http://www.gnu.org/licenses/>.
23 * Authors:
24 * Frederic Ruaudel <grumz@grumz.net>
25 * Rodrigo Moya <rodrigo@gnome-db.org>
26 * Pierre Wieser <pwieser@trychlos.org>
27 * ... and many others (see AUTHORS)
30 #ifndef __PLUGIN_MENU_FMA_MENU_PLUGIN_H__
31 #define __PLUGIN_MENU_FMA_MENU_PLUGIN_H__
33 /**
34 * SECTION: filemanager-actions
35 * @title: FMAMenuPlugin
36 * @short_description: The FMAMenuPlugin plugin class definition
37 * @include: plugin-menu/fma-menu-plugin.h
39 * This is the class which handles the file manager menu plugin.
42 #include <glib-object.h>
44 G_BEGIN_DECLS
46 #define FMA_MENU_PLUGIN_TYPE ( fma_menu_plugin_get_type())
47 #define FMA_MENU_PLUGIN( object ) ( G_TYPE_CHECK_INSTANCE_CAST(( object ), FMA_MENU_PLUGIN_TYPE, FMAMenuPlugin ))
48 #define FMA_MENU_PLUGIN_CLASS( klass ) ( G_TYPE_CHECK_CLASS_CAST(( klass ), FMA_MENU_PLUGIN_TYPE, FMAMenuPluginClass ))
49 #define FMA_IS_MENU_PLUGIN( object ) ( G_TYPE_CHECK_INSTANCE_TYPE(( object ), FMA_MENU_PLUGIN_TYPE ))
50 #define FMA_IS_MENU_PLUGIN_CLASS( klass ) ( G_TYPE_CHECK_CLASS_TYPE(( klass ), FMA_MENU_PLUGIN_TYPE ))
51 #define FMA_MENU_PLUGIN_GET_CLASS( object ) ( G_TYPE_INSTANCE_GET_CLASS(( object ), FMA_MENU_PLUGIN_TYPE, FMAMenuPluginClass ))
53 typedef struct _FMAMenuPluginPrivate FMAMenuPluginPrivate;
55 typedef struct {
56 /*< private >*/
57 GObject parent;
58 FMAMenuPluginPrivate *private;
60 FMAMenuPlugin;
62 typedef struct _FMAMenuPluginClassPrivate FMAMenuPluginClassPrivate;
64 typedef struct {
65 /*< private >*/
66 GObjectClass parent;
67 FMAMenuPluginClassPrivate *private;
69 FMAMenuPluginClass;
71 GType fma_menu_plugin_get_type ( void );
72 void fma_menu_plugin_register_type( GTypeModule *module );
74 G_END_DECLS
76 #endif /* __PLUGIN_MENU_FMA_MENU_PLUGIN_H__ */