|
Revision 73
(checked in by pvanhoof, 7 months ago)
|
2008-01-28 Philip Van Hoof <pvanhoof@gnome.org>
- Adapted TMut to the latest Tinymail API changes in trunk.
|
| Line | |
|---|
| 1 |
#ifndef TMUT_SHELL_CHILD_H |
|---|
| 2 |
#define TMUT_SHELL_CHILD_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 |
|
|---|
| 26 |
#include <tmut-shared.h> |
|---|
| 27 |
#include <tmut-shell-window.h> |
|---|
| 28 |
|
|---|
| 29 |
G_BEGIN_DECLS |
|---|
| 30 |
|
|---|
| 31 |
#define TMUT_TYPE_SHELL_CHILD (tmut_shell_child_get_type ()) |
|---|
| 32 |
#define TMUT_SHELL_CHILD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TMUT_TYPE_SHELL_CHILD, TMutShellChild)) |
|---|
| 33 |
#define TMUT_IS_SHELL_CHILD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TMUT_TYPE_SHELL_CHILD)) |
|---|
| 34 |
#define TMUT_SHELL_CHILD_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), TMUT_TYPE_SHELL_CHILD, TMutShellChildIface)) |
|---|
| 35 |
|
|---|
| 36 |
#ifndef TMUT_SHARED_H |
|---|
| 37 |
typedef struct _TMutShellChild TMutShellChild; |
|---|
| 38 |
typedef struct _TMutShellChildIface TMutShellChildIface; |
|---|
| 39 |
#endif |
|---|
| 40 |
|
|---|
| 41 |
struct _TMutShellChildIface |
|---|
| 42 |
{ |
|---|
| 43 |
GTypeInterface parent; |
|---|
| 44 |
|
|---|
| 45 |
void (*set_window) (TMutShellChild *self, TMutShellWindow *window); |
|---|
| 46 |
TMutShellWindow* (*get_window) (TMutShellChild *self); |
|---|
| 47 |
}; |
|---|
| 48 |
|
|---|
| 49 |
GType tmut_shell_child_get_type (void); |
|---|
| 50 |
|
|---|
| 51 |
TMutShellWindow* tmut_shell_child_get_window (TMutShellChild *self); |
|---|
| 52 |
void tmut_shell_child_set_window (TMutShellChild *self, TMutShellWindow *window); |
|---|
| 53 |
|
|---|
| 54 |
G_END_DECLS |
|---|
| 55 |
|
|---|
| 56 |
#endif |
|---|