class-gen: Use a simple hash table instead of NPWValue
[anjuta.git] / plugins / language-support-js / db-anjuta-symbol.h
blobbefa744eb9e557e7062288c53fef830200a2bcc1
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 _DB_ANJUTA_SYMBOL_H_
21 #define _DB_ANJUTA_SYMBOL_H_
23 #include <glib-object.h>
25 #include "ijs-symbol.h"
27 G_BEGIN_DECLS
29 #define DB_TYPE_ANJUTA_SYMBOL (db_anjuta_symbol_get_type ())
30 #define DB_ANJUTA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DB_TYPE_ANJUTA_SYMBOL, DbAnjutaSymbol))
31 #define DB_ANJUTA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DB_TYPE_ANJUTA_SYMBOL, DbAnjutaSymbolClass))
32 #define DB_IS_ANJUTA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DB_TYPE_ANJUTA_SYMBOL))
33 #define DB_IS_ANJUTA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DB_TYPE_ANJUTA_SYMBOL))
34 #define DB_ANJUTA_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DB_TYPE_ANJUTA_SYMBOL, DbAnjutaSymbolClass))
36 typedef struct _DbAnjutaSymbolClass DbAnjutaSymbolClass;
37 typedef struct _DbAnjutaSymbol DbAnjutaSymbol;
39 struct _DbAnjutaSymbolClass
41 GObjectClass parent_class;
44 struct _DbAnjutaSymbol
46 GObject parent_instance;
49 GType db_anjuta_symbol_get_type (void) G_GNUC_CONST;
50 DbAnjutaSymbol* db_anjuta_symbol_new (const gchar *file_name);
52 G_END_DECLS
54 #endif /* _DB_ANJUTA_SYMBOL_H_ */