2008-04-12 Johannes Schmid <jhs@gnome.org>
[anjuta-git-plugin.git] / plugins / symbol-browser / an_symbol.h
blob692ffbabc6395e7c6c6abcf016e511022247fead
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta_symbol.c
4 * Copyright (C) Naba Kumar <naba@gnome.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (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
14 * GNU Library General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef __ANJUTA_SYMBOL__
21 #define __ANJUTA_SYMBOL__
23 #include <glib-object.h>
24 #include <tm_tagmanager.h>
26 typedef struct _AnjutaSymbol AnjutaSymbol;
27 typedef struct _AnjutaSymbolClass AnjutaSymbolClass;
28 typedef struct _AnjutaSymbolPriv AnjutaSymbolPriv;
30 #define ANJUTA_TYPE_SYMBOL (anjuta_symbol_get_type ())
31 #define ANJUTA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ANJUTA_TYPE_SYMBOL, AnjutaSymbol))
32 #define ANJUTA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ANJUTA_TYPE_SYMBOL, AnjutaSymbolClass))
33 #define ANJUTA_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ANJUTA_TYPE_SYMBOL))
34 #define ANJUTA_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ANJUTA_TYPE_SYMBOL))
36 struct _AnjutaSymbol
38 GObject parent;
39 AnjutaSymbolPriv *priv;
42 struct _AnjutaSymbolClass
44 GObjectClass parent_class;
47 GType anjuta_symbol_get_type (void);
48 AnjutaSymbol* anjuta_symbol_new (const TMTag *tm_tag);
49 void anjuta_symbol_set_tag (AnjutaSymbol* symbol, const TMTag *tm_tag);
50 const gchar* anjuta_symbol_get_name (AnjutaSymbol* symbol);
52 G_END_DECLS
53 #endif