diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-10-28 15:59:12 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-10-28 15:59:12 (GMT) |
commit | c3aba0893c29cc098c029306fd7a4c8c1fa2eee2 (patch) | |
tree | 49432db1af3115758a216ac5bfd92d5935929858 /src/gui/panels/strings.h | |
parent | 55866b34f5cff022a465d58f808450f25f354218 (diff) |
Updated the code of the old panel and displayed found strings again.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@276 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/panels/strings.h')
-rw-r--r-- | src/gui/panels/strings.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/src/gui/panels/strings.h b/src/gui/panels/strings.h new file mode 100644 index 0000000..2ac2fbf --- /dev/null +++ b/src/gui/panels/strings.h @@ -0,0 +1,65 @@ + +/* OpenIDA - Outil d'analyse de fichiers binaires + * strings.h - prototypes pour le panneau d'affichage des chaînes de caractères + * + * 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_STRINGS_H +#define _GUI_PANELS_STRINGS_H + + +#include <i18n.h> + + +#include "panel.h" + + + +#define PANEL_STRINGS_ID _("Strings") + + +#define G_TYPE_STRINGS_PANEL g_strings_panel_get_type() +#define G_STRINGS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_strings_panel_get_type(), GStringsPanel)) +#define G_IS_STRINGS_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_strings_panel_get_type())) +#define G_STRINGS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_STRINGS_PANEL, GStringsPanelClass)) +#define G_IS_STRINGS_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_STRINGS_PANEL)) +#define G_STRINGS_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_STRINGS_PANEL, GStringsPanelClass)) + + +/* Panneau d'affichage des symboles (instance) */ +typedef struct _GStringsPanel GStringsPanel; + +/* Panneau d'affichage des symboles (classe) */ +typedef struct _GStringsPanelClass GStringsPanelClass; + + +/* Indique le type définit pour un panneau d'affichage des symboles. */ +GType g_strings_panel_get_type(void); + +/* Crée un panneau d'affichage des symboles. */ +GEditorItem *g_strings_panel_new(GObject *); + +/* Construit et intègre un panneau d'affichage des symboles. */ +GPanelItem *create_strings_panel(GObject *); + + + +#endif /* _GUI_PANELS_STRINGS_H */ |