diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-10-17 22:38:38 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-10-17 22:38:38 (GMT) |
commit | af29afcc9a37113e4187b1c0a20e3bf5e2dcd4d9 (patch) | |
tree | 46da4b3886b43d4bb549aa01012bda13ce36c375 /src/gtkext/gtkbinview-int.h | |
parent | ed846003946a44588c7c131b9c9001f97bf10711 (diff) |
Removed a lot of gcc warnings.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@272 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkbinview-int.h')
-rw-r--r-- | src/gtkext/gtkbinview-int.h | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/src/gtkext/gtkbinview-int.h b/src/gtkext/gtkbinview-int.h deleted file mode 100644 index 7091e15..0000000 --- a/src/gtkext/gtkbinview-int.h +++ /dev/null @@ -1,82 +0,0 @@ - -/* OpenIDA - Outil d'analyse de fichiers binaires - * gtkbinview-int.h - définitions internes propre à l'affichage d'un ou plusieurs morceaux de code - * - * 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 Foobar. If not, see <http://www.gnu.org/licenses/>. - */ - - -#ifndef _GTKEXT_GTKBINVIEW_INT_H -#define _GTKEXT_GTKBINVIEW_INT_H - - -#include "gtkbinview.h" -#include "gtkviewpanel-int.h" - - -#include <stdbool.h> -#include <gtk/gtkfixed.h> - - - -/* Définit les lignes à associer à la représentation. */ -typedef void (* set_rendering_lines_fc) (GtkBinView *, GRenderingLine *, GRenderingLine *); - -/* Réagit à la sélection externe d'une adresse. */ -typedef void (* define_main_address_fc) (GtkBinView *, vmpa_t); - -/* Indique la position d'affichage d'une adresse donnée. */ -//typedef bool (* get_addr_coordinates_fc) (const GtkBinView *, vmpa_t, gint *, gint *); - - -struct _GtkBinView -{ - GtkViewPanel parent; /* A laisser en premier */ - - GLoadedBinary *binary; /* Contenu binaire affiché */ - - GRenderingLine *lines; /* Contenu à représenter */ - GRenderingLine *last; /* Dernière ligne associée */ - - set_rendering_lines_fc set_lines; /* Association des lignes */ - define_main_address_fc define_address; /* Sélection externe d'adresse */ - get_addr_coordinates_fc get_coordinates;/* Conversion adresse <-> pos. */ - -}; - -struct _GtkBinViewClass -{ - GtkViewPanelClass parent; /* A laisser en premier */ - - /* Signaux */ - - void (* lines_set) (GtkBinView *); - -}; - - - -/* Calcule la surface pleine utilisable pour la vue. */ -void gtk_bin_view_compute_allocation(GtkBinView *, GtkAllocation *); - -/* S'assure que la valeur de défilement actuelle est valable. */ -void gtk_bin_view_reclamp_adjustment(GtkAdjustment *, gboolean *); - - - -#endif /* _GTKEXT_GTKBINVIEW_INT_H */ |