project-manager: Use new improvements in ProjectChooser button
[anjuta.git] / src / anjuta.h
blob28a921a4a201c9532eb1498c164b68cd4504c4b3
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta.h
4 * Copyright (C) 2000 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_H_
22 #define _ANJUTA_H_
24 #include <libanjuta/e-splash.h>
25 #include "anjuta-app.h"
27 #define ANJUTA_TYPE_ANJUTA (anjuta_get_type ())
28 #define ANJUTA(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), ANJUTA_TYPE_ANJUTA, Anjuta))
29 #define ANJUTA_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), ANJUTA_TYPE_APP, AnjutaClass))
30 #define ANJUTA_IS_ANJUTA(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), ANJUTA_TYPE_APP))
31 #define ANJUTA_IS_ANJUTA_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), ANJUTA_TYPE_APP))
33 typedef struct _Anjuta Anjuta;
34 typedef struct _AnjutaClass AnjutaClass;
36 struct _AnjutaClass
38 GtkApplicationClass parent;
41 struct _Anjuta
43 GtkApplication parent;
46 GType anjuta_get_type (void);
47 Anjuta *anjuta_new (void);
49 AnjutaApp*
50 create_window (GFile **files, int n_files, gboolean no_splash,
51 gboolean no_session, gboolean no_files,
52 gboolean proper_shutdown, const gchar *geometry);
54 #endif