Updated Makefile.am files after make -f git.mk
[anjuta.git] / plugins / starter / plugin.h
blob7bfedce00c27f547be6cd7154e02e06c13efed79
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 plugin.c
4 Copyright (C) 2014 Tristian Celestin
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 of the License, or
9 (at your option) any later version.
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.
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef __PLUGIN_H__
22 #define __PLUGIN_H__
24 #include <libanjuta/anjuta-plugin.h>
26 #define ANJUTA_TYPE_PLUGIN_STARTER (starter_plugin_get_type (NULL))
27 #define ANJUTA_PLUGIN_STARTER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_PLUGIN_STARTER, StarterPlugin))
28 #define ANJUTA_PLUGIN_STARTER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), ANJUTA_TYPE_PLUGIN_STARTER, StarterPluginClass))
29 #define ANJUTA_IS_PLUGIN_STARTER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_PLUGIN_STARTER))
30 #define ANJUTA_IS_PLUGIN_STARTER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_PLUGIN_STARTER))
31 #define ANJUTA_PLUGIN_STARTER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ANJUTA_TYPE_PLUGIN_STARTER, StarterPluginClass))
33 typedef struct _StarterPlugin StarterPlugin;
34 typedef struct _StarterPluginClass StarterPluginClass;
35 typedef struct _StarterPluginPrivate StarterPluginPrivate;
37 struct _StarterPlugin{
38 AnjutaPlugin parent;
39 StarterPluginPrivate *priv;
42 struct _StarterPluginClass{
43 AnjutaPluginClass parent_class;
46 extern GType starter_plugin_get_type (GTypeModule *module);
48 void on_recent_project_activated (GtkListBox *box, GtkListBoxRow *row, gpointer user_data);
49 void on_row_activated (GtkListBox *box, GtkListBoxRow *row, gpointer user_data);
51 #endif