| 1 |
#ifndef TMUT_SHELL_WINDOW_H |
|---|
| 2 |
#define TMUT_SHELL_WINDOW_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 |
|
|---|
| 26 |
#include <tmut-shared.h> |
|---|
| 27 |
#include <tmut-shell-child.h> |
|---|
| 28 |
|
|---|
| 29 |
G_BEGIN_DECLS |
|---|
| 30 |
|
|---|
| 31 |
#define TMUT_TYPE_SHELL_WINDOW (tmut_shell_window_get_type ()) |
|---|
| 32 |
#define TMUT_SHELL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TMUT_TYPE_SHELL_WINDOW, TMutShellWindow)) |
|---|
| 33 |
#define TMUT_SHELL_WINDOW_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TMUT_TYPE_SHELL_WINDOW, TMutShellWindowClass)) |
|---|
| 34 |
#define TMUT_IS_SHELL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TMUT_TYPE_SHELL_WINDOW)) |
|---|
| 35 |
#define TMUT_IS_SHELL_WINDOW_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TMUT_TYPE_SHELL_WINDOW)) |
|---|
| 36 |
#define TMUT_SHELL_WINDOW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TMUT_TYPE_SHELL_WINDOW, TMutShellWindowClass)) |
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
#ifndef TMUT_SHARED_H |
|---|
| 40 |
typedef struct _TMutShellWindow TMutShellWindow; |
|---|
| 41 |
typedef struct _TMutShellWindowClass TMutShellWindowClass; |
|---|
| 42 |
#endif |
|---|
| 43 |
|
|---|
| 44 |
struct _TMutShellWindow |
|---|
| 45 |
{ |
|---|
| 46 |
GtkWindow parent; |
|---|
| 47 |
}; |
|---|
| 48 |
|
|---|
| 49 |
struct _TMutShellWindowClass |
|---|
| 50 |
{ |
|---|
| 51 |
GtkWindowClass parent_class; |
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 |
void (*set_child) (TMutShellWindow *self, TMutShellChild *child, const gchar *instruction); |
|---|
| 56 |
void (*back) (TMutShellWindow *self); |
|---|
| 57 |
GtkProgress* (*get_progress) (TMutShellWindow *self); |
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
|
|---|
| 64 |
void (*instantiate) (TMutShellWindow *self); |
|---|
| 65 |
|
|---|
| 66 |
}; |
|---|
| 67 |
|
|---|
| 68 |
GType tmut_shell_window_get_type (void); |
|---|
| 69 |
TMutShellWindow* tmut_shell_window_new (void); |
|---|
| 70 |
|
|---|
| 71 |
void tmut_shell_window_back (TMutShellWindow *self); |
|---|
| 72 |
void tmut_shell_window_set_child (TMutShellWindow *self, TMutShellChild *child, const gchar *instruction); |
|---|
| 73 |
GtkProgress* tmut_shell_window_get_progress (TMutShellWindow *self); |
|---|
| 74 |
|
|---|
| 75 |
G_END_DECLS |
|---|
| 76 |
|
|---|
| 77 |
#endif |
|---|