Updated Spanish translation
[anjuta-git-plugin.git] / src / anjuta-app.h
blob5f5b8da7a444efd07526e330d243253d8ec30670
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta-app.h
4 * Copyright (C) 2003 Naba Kumar <naba@gnome.org>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
9 * any later version.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef _ANJUTA_APP_H_
22 #define _ANJUTA_APP_H_
24 #include <gmodule.h>
25 #include <glade/glade.h>
26 #include <gdl/gdl-dock-layout.h>
27 #include <libanjuta/anjuta-status.h>
28 #include <libanjuta/anjuta-ui.h>
29 #include <libanjuta/anjuta-preferences.h>
30 #include <libanjuta/anjuta-plugin-manager.h>
31 #include <libanjuta/anjuta-profile-manager.h>
33 G_BEGIN_DECLS
35 #define ANJUTA_TYPE_APP (anjuta_app_get_type ())
36 #define ANJUTA_APP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_APP, AnjutaApp))
37 #define ANJUTA_APP_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), ANJUTA_TYPE_APP, AnjutaAppClass))
38 #define ANJUTA_IS_APP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_APP))
39 #define ANJUTA_IS_APP_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_APP))
41 typedef struct _AnjutaApp AnjutaApp;
42 typedef struct _AnjutaAppClass AnjutaAppClass;
44 struct _AnjutaApp
46 GnomeApp parent;
47 GtkWidget *toolbars_menu;
48 GtkWidget *view_menu;
49 GtkWidget *dock;
50 GdlDockLayout *layout_manager;
52 GHashTable *values;
53 GHashTable *widgets;
55 GtkAccelGroup *accel_group;
57 AnjutaStatus *status;
58 AnjutaUI *ui;
59 AnjutaPreferences *preferences;
60 AnjutaPluginManager *plugin_manager;
61 AnjutaProfileManager *profile_manager;
64 struct _AnjutaAppClass
66 GnomeAppClass klass;
69 GType anjuta_app_get_type (void);
70 GtkWidget* anjuta_app_new (void);
72 void anjuta_app_set_geometry (AnjutaApp *app, const gchar *geometry);
73 gchar* anjuta_app_get_geometry (AnjutaApp *app);
74 void anjuta_app_layout_reset (AnjutaApp *app);
75 void anjuta_app_install_preferences (AnjutaApp *app);
77 G_END_DECLS
79 #endif