2 * project_import.h (c) 2005 Johannes Schmid
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU Library General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 #ifndef PROJECT_IMPORT_H
19 #define PROJECT_IMPORT_H
22 #include <glib-object.h>
26 #define PROJECT_IMPORT_TYPE (project_import_get_type ())
27 #define PROJECT_IMPORT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PROJECT_IMPORT_TYPE, ProjectImport))
28 #define PROJECT_IMPORT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PROJECT_IMPORT_TYPE, ProjectImportClass))
29 #define IS_PROJECT_IMPORT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PROJECT_IMPORT_TYPE))
30 #define IS_PROJECT_IMPORT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PROJECT_IMPORT_TYPE))
31 #define PROJECT_IMPORT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PROJECT_IMPORT_TYPE, ProjectImportClass))
33 typedef struct _ProjectImport ProjectImport
;
34 typedef struct _ProjectImportClass ProjectImportClass
;
41 GtkWidget
* import_name
;
42 GtkWidget
* import_path
;
43 GtkWidget
* import_finish
;
51 struct _ProjectImportClass
53 GObjectClass parent_class
;
56 GType
project_import_get_type(void);
57 ProjectImport
*project_import_new(AnjutaPlugin
* plugin
);
59 void project_import_set_name (ProjectImport
*pi
, const gchar
*name
);
60 void project_import_set_directory (ProjectImport
*pi
, const gchar
*directory
);
62 gboolean
project_import_generate_file(ProjectImport
* pi
, const gchar
* prjfile
);
64 #endif /* PROJECT_IMPORT_H */