|
Revision 3304
(checked in by pvanhoof, 10 months ago)
|
2008-01-28 Philip Van Hoof <pvanhoof@gnome.org>
- Removed the _func from all the interfaces and virtual function
pointers in the classes. This should not be an ABI but is an API
change.
- This was a major API change
|
| Line | |
|---|
| 1 |
#ifndef TNY_GTK_HEADER_VIEW_H |
|---|
| 2 |
#define TNY_GTK_HEADER_VIEW_H |
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
#include <gtk/gtk.h> |
|---|
| 24 |
#include <glib-object.h> |
|---|
| 25 |
#include <tny-shared.h> |
|---|
| 26 |
|
|---|
| 27 |
#include <tny-header-view.h> |
|---|
| 28 |
|
|---|
| 29 |
G_BEGIN_DECLS |
|---|
| 30 |
|
|---|
| 31 |
#define TNY_TYPE_GTK_HEADER_VIEW (tny_gtk_header_view_get_type ()) |
|---|
| 32 |
#define TNY_GTK_HEADER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_GTK_HEADER_VIEW, TnyGtkHeaderView)) |
|---|
| 33 |
#define TNY_GTK_HEADER_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TNY_TYPE_GTK_HEADER_VIEW, TnyGtkHeaderViewClass)) |
|---|
| 34 |
#define TNY_IS_GTK_HEADER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_GTK_HEADER_VIEW)) |
|---|
| 35 |
#define TNY_IS_GTK_HEADER_VIEW_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TNY_TYPE_GTK_HEADER_VIEW)) |
|---|
| 36 |
#define TNY_GTK_HEADER_VIEW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TNY_TYPE_GTK_HEADER_VIEW, TnyGtkHeaderViewClass)) |
|---|
| 37 |
|
|---|
| 38 |
typedef struct _TnyGtkHeaderView TnyGtkHeaderView; |
|---|
| 39 |
typedef struct _TnyGtkHeaderViewClass TnyGtkHeaderViewClass; |
|---|
| 40 |
|
|---|
| 41 |
struct _TnyGtkHeaderView |
|---|
| 42 |
{ |
|---|
| 43 |
GtkTable parent; |
|---|
| 44 |
|
|---|
| 45 |
}; |
|---|
| 46 |
|
|---|
| 47 |
struct _TnyGtkHeaderViewClass |
|---|
| 48 |
{ |
|---|
| 49 |
GtkTableClass parent_class; |
|---|
| 50 |
|
|---|
| 51 |
|
|---|
| 52 |
void (*set_header) (TnyHeaderView *self, TnyHeader *header); |
|---|
| 53 |
void (*clear) (TnyHeaderView *self); |
|---|
| 54 |
}; |
|---|
| 55 |
|
|---|
| 56 |
GType tny_gtk_header_view_get_type (void); |
|---|
| 57 |
TnyHeaderView* tny_gtk_header_view_new (void); |
|---|
| 58 |
|
|---|
| 59 |
G_END_DECLS |
|---|
| 60 |
|
|---|
| 61 |
#endif |
|---|