|
Revision 3
(checked in by pvanhoof, 1 year ago)
|
2007-10-28 Philip Van Hoof <pvanhoof@gnome.org>
- First actual implementations, made something that works
- Implemented TMutMenuView
- Implemented main.c
- Implemented TMutPlatformFactory
- Created project's infrastructure
|
| Line | |
|---|
| 1 |
#ifndef TMUT_PLATFORM_FACTORY_H |
|---|
| 2 |
#define TMUT_PLATFORM_FACTORY_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 <tny-platform-factory.h> |
|---|
| 27 |
|
|---|
| 28 |
G_BEGIN_DECLS |
|---|
| 29 |
|
|---|
| 30 |
#define TMUT_TYPE_PLATFORM_FACTORY (tmut_platform_factory_get_type ()) |
|---|
| 31 |
#define TMUT_PLATFORM_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TMUT_TYPE_PLATFORM_FACTORY, TMutPlatformFactory)) |
|---|
| 32 |
#define TMUT_PLATFORM_FACTORY_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), TMUT_TYPE_PLATFORM_FACTORY, TMutPlatformFactoryClass)) |
|---|
| 33 |
#define TMUT_IS_PLATFORM_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TMUT_TYPE_PLATFORM_FACTORY)) |
|---|
| 34 |
#define TMUT_IS_PLATFORM_FACTORY_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), TMUT_TYPE_PLATFORM_FACTORY)) |
|---|
| 35 |
#define TMUT_PLATFORM_FACTORY_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), TMUT_TYPE_PLATFORM_FACTORY, TMutPlatformFactoryClass)) |
|---|
| 36 |
|
|---|
| 37 |
typedef struct _TMutPlatformFactory TMutPlatformFactory; |
|---|
| 38 |
typedef struct _TMutPlatformFactoryClass TMutPlatformFactoryClass; |
|---|
| 39 |
|
|---|
| 40 |
struct _TMutPlatformFactory |
|---|
| 41 |
{ |
|---|
| 42 |
GObject parent; |
|---|
| 43 |
}; |
|---|
| 44 |
|
|---|
| 45 |
struct _TMutPlatformFactoryClass |
|---|
| 46 |
{ |
|---|
| 47 |
GObjectClass parent; |
|---|
| 48 |
}; |
|---|
| 49 |
|
|---|
| 50 |
GType tmut_platform_factory_get_type (void); |
|---|
| 51 |
TnyPlatformFactory* tmut_platform_factory_get_instance (void); |
|---|
| 52 |
|
|---|
| 53 |
G_END_DECLS |
|---|
| 54 |
|
|---|
| 55 |
#endif |
|---|
| 56 |
|
|---|