1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) 2000 Naba Kumar <naba@gnome.org>
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)
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
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_APPLICATION_H_
22 #define _ANJUTA_APPLICATION_H_
24 #include <libanjuta/e-splash.h>
25 #include "anjuta-window.h"
27 #define ANJUTA_TYPE_APPLICATION (anjuta_application_get_type ())
28 #define ANJUTA_APPLICATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_APPLICATION, AnjutaApplication))
29 #define ANJUTA_APPLICATION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), ANJUTA_TYPE_APPLICATION, AnjutaApplicationClass))
30 #define ANJUTA_IS_APPLICATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_APPLICATION))
31 #define ANJUTA_IS_APPLICATION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_APPLICATION))
33 typedef struct _AnjutaApplication AnjutaApplication
;
34 typedef struct _AnjutaApplicationClass AnjutaApplicationClass
;
35 typedef struct _AnjutaApplicationPrivate AnjutaApplicationPrivate
;
37 struct _AnjutaApplicationClass
39 GtkApplicationClass parent
;
42 struct _AnjutaApplication
44 GtkApplication parent
;
46 AnjutaApplicationPrivate
*priv
;
49 GType
anjuta_application_get_type (void);
51 AnjutaApplication
*anjuta_application_new (void);
53 gboolean
anjuta_application_get_proper_shutdown (AnjutaApplication
*app
);
54 gboolean
anjuta_application_get_no_files (AnjutaApplication
*app
);
55 gboolean
anjuta_application_get_no_session (AnjutaApplication
*app
);
56 const gchar
*anjuta_application_get_geometry (AnjutaApplication
*app
);
58 AnjutaWindow
* anjuta_application_create_window (AnjutaApplication
*app
);