1 /* 2 * pluma-bookmarks-plugin.h - Bookmarking for pluma 3 * 4 * Copyright (C) 2008 Jesse van den Kieboom 5 * Copyright (C) 2020-2021 MATE Developers 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2, or (at your option) 10 * any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 * 21 */ 22 23 #ifndef __PLUMA_BOOKMARKS_PLUGIN_H__ 24 #define __PLUMA_BOOKMARKS_PLUGIN_H__ 25 26 #include <glib.h> 27 #include <glib-object.h> 28 #include <libpeas/peas-extension-base.h> 29 #include <libpeas/peas-object-module.h> 30 31 G_BEGIN_DECLS 32 33 #define PLUMA_TYPE_BOOKMARKS_PLUGIN (pluma_bookmarks_plugin_get_type ()) 34 #define PLUMA_BOOKMARKS_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PLUMA_TYPE_BOOKMARKS_PLUGIN, PlumaBookmarksPlugin)) 35 #define PLUMA_BOOKMARKS_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PLUMA_TYPE_BOOKMARKS_PLUGIN, PlumaBookmarksPluginClass)) 36 #define PLUMA_IS_BOOKMARKS_PLUGIN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PLUMA_TYPE_ADVANCED_EDITING_PLUGIN)) 37 #define PLUMA_IS_BOOKMARKS_PLUGIN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PLUMA_TYPE_BOOKMARKS_PLUGIN)) 38 #define PLUMA_BOOKMARKS_PLUGIN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PLUMA_TYPE_BOOKMARKS_PLUGIN, PlumaBookmarksPluginClass)) 39 40 typedef struct _PlumaBookmarksPlugin PlumaBookmarksPlugin; 41 typedef struct _PlumaBookmarksPluginPrivate PlumaBookmarksPluginPrivate; 42 typedef struct _PlumaBookmarksPluginClass PlumaBookmarksPluginClass; 43 44 struct _PlumaBookmarksPlugin 45 { 46 PeasExtensionBase parent_instance; 47 48 /*< private >*/ 49 PlumaBookmarksPluginPrivate *priv; 50 }; 51 52 struct _PlumaBookmarksPluginClass 53 { 54 PeasExtensionBaseClass parent_class; 55 }; 56 57 GType pluma_bookmarks_plugin_get_type (void) G_GNUC_CONST; 58 59 G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module); 60 61 G_END_DECLS 62 63 #endif /* __PLUMA_BOOKMARKS_PLUGIN_H__ */ 64 65 /* ex:set ts=8 noet: */ 66