Initial German translation of the build tutorial
[anjuta.git] / plugins / am-project / amp-module.h
blobf1d69cea278339868b2c931b0e3dfc95b371dc86
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4; coding: utf-8 -*- */
2 /* amp-module.h
4 * Copyright (C) 2010 Sébastien Granjoux
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (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 GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
22 #ifndef _AMP_MODULE_H_
23 #define _AMP_MODULE_H_
25 #include "am-project.h"
27 #include <glib-object.h>
29 #include <libanjuta/anjuta-project.h>
30 #include <libanjuta/anjuta-token.h>
31 #include <libanjuta/anjuta-token-file.h>
33 G_BEGIN_DECLS
35 /* Type macros
36 *---------------------------------------------------------------------------*/
38 #define AMP_TYPE_MODULE_NODE (amp_module_node_get_type ())
39 #define AMP_MODULE_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AMP_TYPE_MODULE_NODE, AmpModuleNode))
41 GType amp_module_node_get_type (void) G_GNUC_CONST;
44 void amp_module_node_register (GTypeModule *module);
46 AmpModuleNode* amp_module_node_new (const gchar *name);
47 AmpModuleNode* amp_module_node_new_valid (const gchar *name, GError **error);
48 void amp_module_node_free (AmpModuleNode *node);
49 AnjutaToken *amp_module_node_get_token (AmpModuleNode *node);
50 void amp_module_node_add_token (AmpModuleNode *group, AnjutaToken *token);
51 void amp_module_node_update_node (AmpModuleNode *node, AmpModuleNode *new_node);
53 G_END_DECLS
55 #endif /* _AMP_MODULE_H_ */