git: Don't query non-existing style properties
[anjuta.git] / plugins / project-manager / plugin.h
blobdca452458492e5c8356c20ad1079ed3b312018a2
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 plugin.h
4 Copyright (C) 2000 Naba Kumar
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 _PROJECT_MANAGER_PLUGIN_H_
22 #define _PROJECT_MANAGER_PLUGIN_H_
24 #include <libanjuta/anjuta-plugin.h>
25 #include <libanjuta/anjuta-project.h>
26 #include <libanjuta/interfaces/ianjuta-project.h>
27 #include "project-model.h"
28 #include "project-view.h"
29 #include "project.h"
31 extern GType project_manager_plugin_get_type (GTypeModule *module);
32 #define ANJUTA_TYPE_PLUGIN_PROJECT_MANAGER (project_manager_plugin_get_type (NULL))
33 #define ANJUTA_PLUGIN_PROJECT_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_PLUGIN_PROJECT_MANAGER, ProjectManagerPlugin))
34 #define ANJUTA_PLUGIN_PROJECT_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), ANJUTA_TYPE_PLUGIN_PROJECT_MANAGER, ProjectManagerPluginClass))
35 #define ANJUTA_IS_PLUGIN_PROJECT_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_PLUGIN_PROJECT_MANAGER))
36 #define ANJUTA_IS_PLUGIN_PROJECT_MANAGER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_PLUGIN_PROJECT_MANAGER))
37 #define ANJUTA_PLUGIN_PROJECT_MANAGER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), ANJUTA_TYPE_PLUGIN_PROJECT_MANAGER, ProjectManagerPluginClass))
39 typedef struct _ProjectManagerPlugin ProjectManagerPlugin;
40 typedef struct _ProjectManagerPluginClass ProjectManagerPluginClass;
42 struct _ProjectManagerPlugin{
43 AnjutaPlugin parent;
45 AnjutaPmProject *project;
47 AnjutaUI *ui;
48 AnjutaPreferences *prefs;
49 GbfProjectView *view;
50 GtkWidget *scrolledwindow;
52 GtkActionGroup *pm_action_group;
53 GtkActionGroup *popup_action_group;
54 gint merge_id;
56 gint fm_watch_id;
57 gint editor_watch_id;
59 gchar *fm_current_uri;
60 gchar *current_editor_uri;
61 gchar *project_root_uri;
62 gchar *project_uri;
64 /* Target shortcuts */
65 GList *shortcuts;
67 /* Update state recording */
68 GList *pre_update_sources;
69 GList *pre_update_targets;
70 GList *pre_update_groups;
72 /* Session flag */
73 gboolean session_by_me;
75 /* Idle callback id */
76 guint close_project_idle;
78 /* project is loading */
79 gboolean busy;
82 struct _ProjectManagerPluginClass{
83 AnjutaPluginClass parent_class;
86 #endif