~kkubasik/vala/motu_package

« back to all changes in this revision

Viewing changes to vala-0.0.7/vala/valasourcefilecycle.h

  • Committer: Kevin Kubasik
  • Date: 2007-04-23 16:46:12 UTC
  • Revision ID: kevin@kubasik.net-20070423164612-2nrkvw6m0lxixxft
inital import of vala 0.0.8 and its ubuntu packaging

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* valasourcefilecycle.vala
 
2
 *
 
3
 * Copyright (C) 2006  Jürg Billeter
 
4
 *
 
5
 * This library is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU Lesser General Public
 
7
 * License as published by the Free Software Foundation; either
 
8
 * version 2 of the License, or (at your option) any later version.
 
9
 
 
10
 * This library is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 * Lesser General Public License for more details.
 
14
 
 
15
 * You should have received a copy of the GNU Lesser General Public
 
16
 * License along with this library; if not, write to the Free Software
 
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
 
18
 *
 
19
 * Author:
 
20
 *      Jürg Billeter <j@bitron.ch>
 
21
 */
 
22
 
 
23
#ifndef __VALASOURCEFILECYCLE_H__
 
24
#define __VALASOURCEFILECYCLE_H__
 
25
 
 
26
#include <glib.h>
 
27
#include <glib-object.h>
 
28
#include <vala/valacodenode.h>
 
29
 
 
30
G_BEGIN_DECLS
 
31
 
 
32
 
 
33
#define VALA_TYPE_SOURCE_FILE_CYCLE (vala_source_file_cycle_get_type ())
 
34
#define VALA_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycle))
 
35
#define VALA_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass))
 
36
#define VALA_IS_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SOURCE_FILE_CYCLE))
 
37
#define VALA_IS_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SOURCE_FILE_CYCLE))
 
38
#define VALA_SOURCE_FILE_CYCLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass))
 
39
 
 
40
typedef struct _ValaSourceFileCyclePrivate ValaSourceFileCyclePrivate;
 
41
 
 
42
/**
 
43
 * Represents a dependency cycle of source files.
 
44
 */
 
45
struct _ValaSourceFileCycle {
 
46
        GObject parent;
 
47
        ValaSourceFileCyclePrivate * priv;
 
48
        GList* files;
 
49
        ValaSourceFile* head;
 
50
};
 
51
struct _ValaSourceFileCycleClass {
 
52
        GObjectClass parent;
 
53
};
 
54
 
 
55
GType vala_source_file_cycle_get_type ();
 
56
 
 
57
G_END_DECLS
 
58
 
 
59
#endif