Initial German translation of the build tutorial
[anjuta.git] / plugins / am-project / amp-object.h
blob4ad1f215eb4eff89358d1bf6420941cc574d7e2b
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4; coding: utf-8 -*- */
2 /* amp-object.h
4 * Copyright (C) 2011 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_OBJECT_H_
23 #define _AMP_OBJECT_H_
25 #include "am-project-private.h"
26 #include "am-scanner.h"
28 #include <glib-object.h>
30 #include <libanjuta/anjuta-project.h>
31 #include <libanjuta/anjuta-token.h>
32 #include <libanjuta/anjuta-token-file.h>
34 G_BEGIN_DECLS
36 /* Type macros
37 *---------------------------------------------------------------------------*/
39 #define AMP_TYPE_OBJECT_NODE (amp_object_node_get_type ())
40 #define AMP_OBJECT_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AMP_TYPE_OBJECT_NODE, AmpObjectNode))
42 GType amp_object_node_get_type (void) G_GNUC_CONST;
46 void amp_object_node_register (GTypeModule *module);
48 AnjutaProjectNode* amp_object_node_new (GFile *file, AnjutaProjectNodeType type);
49 AnjutaProjectNode* amp_object_node_new_valid (GFile *file, AnjutaProjectNodeType type, GError **error);
51 void amp_object_node_free (AmpObjectNode *node);
54 G_END_DECLS
56 #endif /* _AMP_OBJECT_H_ */