|
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_HEADER_VIEW_H |
|---|
| 2 |
#define TNY_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 <glib.h> |
|---|
| 24 |
#include <glib-object.h> |
|---|
| 25 |
#include <tny-shared.h> |
|---|
| 26 |
#include <tny-header.h> |
|---|
| 27 |
|
|---|
| 28 |
G_BEGIN_DECLS |
|---|
| 29 |
|
|---|
| 30 |
#define TNY_TYPE_HEADER_VIEW (tny_header_view_get_type ()) |
|---|
| 31 |
#define TNY_HEADER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TNY_TYPE_HEADER_VIEW, TnyHeaderView)) |
|---|
| 32 |
#define TNY_IS_HEADER_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TNY_TYPE_HEADER_VIEW)) |
|---|
| 33 |
#define TNY_HEADER_VIEW_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), TNY_TYPE_HEADER_VIEW, TnyHeaderViewIface)) |
|---|
| 34 |
|
|---|
| 35 |
typedef struct _TnyHeaderView TnyHeaderView; |
|---|
| 36 |
typedef struct _TnyHeaderViewIface TnyHeaderViewIface; |
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
struct _TnyHeaderViewIface |
|---|
| 40 |
{ |
|---|
| 41 |
GTypeInterface parent; |
|---|
| 42 |
|
|---|
| 43 |
void (*set_header) (TnyHeaderView *self, TnyHeader *header); |
|---|
| 44 |
void (*clear) (TnyHeaderView *self); |
|---|
| 45 |
}; |
|---|
| 46 |
|
|---|
| 47 |
GType tny_header_view_get_type (void); |
|---|
| 48 |
|
|---|
| 49 |
void tny_header_view_set_header (TnyHeaderView *self, TnyHeader *header); |
|---|
| 50 |
void tny_header_view_clear (TnyHeaderView *self); |
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 |
G_END_DECLS |
|---|
| 54 |
|
|---|
| 55 |
#endif |
|---|