Updated Brazilian Portuguese translation
[anjuta.git] / libanjuta / anjuta-environment-editor.h
blob76754b091e4dd6882bd04ee32f989a58c6c1b0f1
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta-environment-editor.h
4 * Copyright (C) 2011 Sebastien Granjoux
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef _ANJUTA_ENVIRONMENT_EDITOR_H_
22 #define _ANJUTA_ENVIRONMENT_EDITOR_H_
24 #include <gtk/gtk.h>
26 G_BEGIN_DECLS
28 #define ANJUTA_TYPE_ENVIRONMENT_EDITOR (anjuta_environment_editor_get_type ())
29 #define ANJUTA_ENVIRONMENT_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ANJUTA_TYPE_ENVIRONMENT_EDITOR, AnjutaEnvironmentEditor))
30 #define ANJUTA_ENVIRONMENT_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ANJUTA_TYPE_ENVIRONMENT_EDITOR, AnjutaEnvironmentEditorClass))
31 #define ANJUTA_IS_ENVIRONMENT_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ANJUTA_TYPE_ENVIRONMENT_EDITOR))
32 #define ANJUTA_IS_ENVIRONMENT_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ANJUTA_TYPE_ENVIRONMENT_EDITOR))
33 #define ANJUTA_ENVIRONMENT_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ANJUTA_TYPE_ENVIRONMENT_EDITOR, AnjutaEnvironmentEditorClass))
35 typedef struct _AnjutaEnvironmentEditorClass AnjutaEnvironmentEditorClass;
36 typedef struct _AnjutaEnvironmentEditor AnjutaEnvironmentEditor;
38 struct _AnjutaEnvironmentEditorClass
40 GtkBinClass parent_class;
42 /* Signals */
43 void(* changed) (AnjutaEnvironmentEditor *self);
46 GType anjuta_environment_editor_get_type (void) G_GNUC_CONST;
48 GtkWidget* anjuta_environment_editor_new (void);
49 void anjuta_environment_editor_set_variable (AnjutaEnvironmentEditor *editor, const gchar *variable);
50 gchar** anjuta_environment_editor_get_all_variables (AnjutaEnvironmentEditor *editor);
51 gchar** anjuta_environment_editor_get_modified_variables (AnjutaEnvironmentEditor *editor);
52 void anjuta_environment_editor_reset (AnjutaEnvironmentEditor *editor);
54 G_END_DECLS
56 #endif /* _ANJUTA_ENVIRONMENT_EDITOR_H_ */