summaryrefslogtreecommitdiff
path: root/src/gui/panels/glance.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-11-10 18:00:23 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-11-10 18:00:23 (GMT)
commit85be5ab140bb90ca69e20323eb49999d8520af13 (patch)
tree0cda930b0d37f48f620efbce0e04f3f2de416bd6 /src/gui/panels/glance.h
parentba5c517970f725903ae8b196b28f1a2eb7705536 (diff)
Provided a nice way to get a small preview of the current graph.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@280 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/panels/glance.h')
-rw-r--r--src/gui/panels/glance.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/gui/panels/glance.h b/src/gui/panels/glance.h
new file mode 100644
index 0000000..4136f46
--- /dev/null
+++ b/src/gui/panels/glance.h
@@ -0,0 +1,67 @@
+
+/* OpenIDA - Outil d'analyse de fichiers binaires
+ * glance.h - prototypes pour le panneau d'aperçu rapide
+ *
+ * Copyright (C) 2009-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 _PANEL_GLANCE_H
+#define _PANEL_GLANCE_H
+
+
+#include <i18n.h>
+
+
+#include "panel.h"
+
+
+
+#define PANEL_GLANCE_ID _("Glance")
+
+
+
+#define G_TYPE_GLANCE_PANEL g_glance_panel_get_type()
+#define G_GLANCE_PANEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_glance_panel_get_type(), GGlancePanel))
+#define G_IS_GLANCE_PANEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_glance_panel_get_type()))
+#define G_GLANCE_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_GLANCE_PANEL, GGlancePanelClass))
+#define G_IS_GLANCE_PANEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_GLANCE_PANEL))
+#define G_GLANCE_PANEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_GLANCE_PANEL, GGlancePanelClass))
+
+
+/* Panneau d'aperçu rapide (instance) */
+typedef struct _GGlancePanel GGlancePanel;
+
+/* Panneau d'aperçu rapide (classe) */
+typedef struct _GGlancePanelClass GGlancePanelClass;
+
+
+
+/* Indique le type définit pour un panneau d'aperçu rapide. */
+GType g_glance_panel_get_type(void);
+
+/* Crée un panneau d'aperçu rapide. */
+GEditorItem *g_glance_panel_new(GObject *);
+
+/* Construit et intègre un panneau d'aperçu rapide. */
+GPanelItem *create_glance_panel(GObject *);
+
+
+
+#endif /* _PANEL_GLANCE_H */