Updated Spanish translation
[anjuta.git] / plugins / language-support-js / gir-symbol.h
blob9622fabaecb7f6f5273adf8f88cab453d8d8015f
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 Copyright (C) 2009 Maxim Ermilov <zaspire@rambler.ru>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program 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
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 #ifndef _GIR_SYMBOL_H_
21 #define _GIR_SYMBOL_H_
23 #include <glib-object.h>
24 #include "ijs-symbol.h"
26 G_BEGIN_DECLS
28 #define GIR_TYPE_SYMBOL (gir_symbol_get_type ())
29 #define GIR_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIR_TYPE_SYMBOL, GirSymbol))
30 #define GIR_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIR_TYPE_SYMBOL, GirSymbolClass))
31 #define GIR_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIR_TYPE_SYMBOL))
32 #define GIR_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIR_TYPE_SYMBOL))
33 #define GIR_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIR_TYPE_SYMBOL, GirSymbolClass))
35 typedef struct _GirSymbolClass GirSymbolClass;
36 typedef struct _GirSymbol GirSymbol;
38 struct _GirSymbolClass
40 GObjectClass parent_class;
43 struct _GirSymbol
45 GObject parent_instance;
48 GType gir_symbol_get_type (void) G_GNUC_CONST;
49 IJsSymbol* gir_symbol_new (const gchar *filename, const gchar *lib_name);
51 G_END_DECLS
53 #endif /* _GIR_SYMBOL_H_ */