Put all of the UI utility functions into the "git" namespace.
[anjuta-git-plugin.git] / plugins / debug-manager / data_view.h
blob9cf7cb1198ae8d97ab9d5d8af5937cbd467f4e01
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 data_view.h
4 Copyright (C) 2006 Sebastien Granjoux
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 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
21 #ifndef _DATA_VIEW_H
22 #define _DATA_VIEW_H
24 #include "data_buffer.h"
26 #include <gtk/gtk.h>
28 #define DMA_DATA_VIEW_TYPE (dma_data_view_get_type ())
29 #define DMA_DATA_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DMA_DATA_VIEW_TYPE, DmaDataView))
30 #define DMA_DATA_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DMA_DATA_VIEW_TYPE, DmaDataViewClass))
31 #define IS_DMA_DATA_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DMA_DATA_VIEW_TYPE))
32 #define IS_DMA_DATA_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DMA_DATA_VIEW_TYPE))
33 #define GET_DMA_DATA_VIEW_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DMA_DATA_VIEW_TYPE, DmaDataViewClass))
35 typedef struct _DmaDataView DmaDataView;
36 typedef struct _DmaDataViewClass DmaDataViewClass;
38 GType dma_data_view_get_type (void);
40 GtkWidget *dma_data_view_new_with_buffer (DmaDataBuffer *buffer);
41 void dma_data_view_free (DmaDataView *this);
43 void dma_data_view_goto_address (DmaDataView *view, const void *address);
44 void dma_data_view_refresh (DmaDataView *view);
46 GtkWidget *dma_data_view_get_address (DmaDataView *view);
47 GtkWidget *dma_data_view_get_data (DmaDataView *view);
48 GtkWidget *dma_data_view_get_ascii (DmaDataView *view);
50 #endif /* _DATA_VIEW_H */