Updated Spanish translation
[anjuta-git-plugin.git] / plugins / project-import / project-import.h
blob8d964766e0ee4de94ce755c042dd83523ca7497d
1 /*
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
21 #include <glib.h>
22 #include <glib-object.h>
24 #include "plugin.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;
36 struct _ProjectImport
38 GObject parent;
40 GtkWidget* window;
41 GtkWidget* druid;
42 GtkWidget* import_name;
43 GtkWidget* import_path;
44 GtkWidget* import_finish;
46 gchar* backend_id;
48 AnjutaPlugin* plugin;
52 struct _ProjectImportClass
54 GObjectClass parent_class;
57 GType project_import_get_type(void);
58 ProjectImport *project_import_new(AnjutaPlugin* plugin);
60 void project_import_set_name (ProjectImport *pi, const gchar *name);
61 void project_import_set_directory (ProjectImport *pi, const gchar *directory);
63 gboolean project_import_generate_file(ProjectImport* pi, const gchar* prjfile);
65 #endif /* PROJECT_IMPORT_H */