diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-01-11 02:20:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-01-11 02:20:30 (GMT) |
commit | 486f0bf0a27ffed3e9fde2f183974ae029b45c54 (patch) | |
tree | 8840eaab0629f83e7501506b91101ce4f2d42a5d /src/gui/panels/symbols.h | |
parent | 6ebdbfbca9e7bc34fe0f280e4a6a65c24c5003e9 (diff) |
Defined new panel definitions for the editor GUI.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@223 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/panels/symbols.h')
-rw-r--r-- | src/gui/panels/symbols.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/src/gui/panels/symbols.h b/src/gui/panels/symbols.h new file mode 100644 index 0000000..72801d8 --- /dev/null +++ b/src/gui/panels/symbols.h @@ -0,0 +1,65 @@ + +/* OpenIDA - Outil d'analyse de fichiers binaires + * symbols.h - prototypes pour le panneau d'affichage des symboles + * + * Copyright (C) 2008-2012 Cyrille Bagard + * + * This file is part of OpenIDA. + * + * OpenIDA is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * OpenIDA is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + +#ifndef _GUI_PANELS_SYMBOLS_H +#define _GUI_PANELS_SYMBOLS_H + + +#include <i18n.h> + + +#include "panel.h" + + + +#define PANEL_SYMBOL_ID _("Symboles") + + +#define G_TYPE_SYMBOLS_PANEL g_symbols_panel_get_type() +#define G_SYMBOLS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_symbols_panel_get_type(), GSymbolsPanel)) +#define G_IS_SYMBOLS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_symbols_panel_get_type())) +#define G_SYMBOLS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_SYMBOLS_PANEL, GSymbolsPanelClass)) +#define G_IS_SYMBOLS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_SYMBOLS_PANEL)) +#define G_SYMBOLS_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_SYMBOLS_PANEL, GSymbolsPanelClass)) + + +/* Panneau d'affichage des symboles (instance) */ +typedef struct _GSymbolsPanel GSymbolsPanel; + +/* Panneau d'affichage des symboles (classe) */ +typedef struct _GSymbolsPanelClass GSymbolsPanelClass; + + +/* Indique le type définit pour un panneau d'affichage des symboles. */ +GType g_symbols_panel_get_type(void); + +/* Crée un panneau d'affichage des symboles. */ +GEditorItem *g_symbols_panel_new(void); + +/* Construit et intègre un panneau d'affichage des symboles. */ +GPanelItem *create_symbols_panel(void); + + + +#endif /* _GUI_PANELS_SYMBOLS_H */ |