1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
3 * symbol-db-model-file.h
4 * Copyright (C) Naba Kumar 2010 <naba@gnome.org>
6 * anjuta is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * anjuta is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _SYMBOL_DB_MODEL_FILE_H_
21 #define _SYMBOL_DB_MODEL_FILE_H_
23 #include <glib-object.h>
24 #include "symbol-db-model-project.h"
28 #define SYMBOL_DB_TYPE_MODEL_FILE (sdb_model_file_get_type ())
29 #define SYMBOL_DB_MODEL_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SYMBOL_DB_TYPE_MODEL_FILE, SymbolDBModelFile))
30 #define SYMBOL_DB_MODEL_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SYMBOL_DB_TYPE_MODEL_FILE, SymbolDBModelFileClass))
31 #define SYMBOL_DB_IS_MODEL_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SYMBOL_DB_TYPE_MODEL_FILE))
32 #define SYMBOL_DB_IS_MODEL_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SYMBOL_DB_TYPE_MODEL_FILE))
33 #define SYMBOL_DB_MODEL_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SYMBOL_DB_TYPE_MODEL_FILE, SymbolDBModelFileClass))
35 typedef struct _SymbolDBModelFileClass SymbolDBModelFileClass
;
36 typedef struct _SymbolDBModelFile SymbolDBModelFile
;
37 typedef struct _SymbolDBModelFilePriv SymbolDBModelFilePriv
;
39 struct _SymbolDBModelFileClass
41 SymbolDBModelProjectClass parent_class
;
44 struct _SymbolDBModelFile
46 SymbolDBModelProject parent_instance
;
48 SymbolDBModelFilePriv
*priv
;
51 GType
sdb_model_file_get_type (void) G_GNUC_CONST
;
52 GtkTreeModel
* symbol_db_model_file_new (SymbolDBEngine
* dbe
);
56 #endif /* _SYMBOL_DB_MODEL_FILE_H_ */