/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */ /* * anjuta-app.h * Copyright (C) 2003 Naba Kumar * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., 59 * Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _ANJUTA_APP_H_ #define _ANJUTA_APP_H_ #include #include #include #include #include #include #include #include G_BEGIN_DECLS #define ANJUTA_TYPE_APP (anjuta_app_get_type ()) #define ANJUTA_APP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_APP, AnjutaApp)) #define ANJUTA_APP_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), ANJUTA_TYPE_APP, AnjutaAppClass)) #define ANJUTA_IS_APP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_APP)) #define ANJUTA_IS_APP_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_APP)) typedef struct _AnjutaApp AnjutaApp; typedef struct _AnjutaAppClass AnjutaAppClass; struct _AnjutaApp { GnomeApp parent; GtkWidget *toolbars_menu; GtkWidget *view_menu; GtkWidget *dock; GdlDockLayout *layout_manager; GHashTable *values; GHashTable *widgets; GtkAccelGroup *accel_group; AnjutaStatus *status; AnjutaUI *ui; AnjutaPreferences *preferences; AnjutaPluginManager *plugin_manager; AnjutaProfileManager *profile_manager; }; struct _AnjutaAppClass { GnomeAppClass klass; }; GType anjuta_app_get_type (void); GtkWidget* anjuta_app_new (void); void anjuta_app_set_geometry (AnjutaApp *app, const gchar *geometry); gchar* anjuta_app_get_geometry (AnjutaApp *app); void anjuta_app_layout_reset (AnjutaApp *app); G_END_DECLS #endif