r69 - trunk/src/target/OM-2007/libraries/mokoui

mickey at gta01.hmw-consulting.de mickey at gta01.hmw-consulting.de
Mon Oct 9 21:45:41 CEST 2006


Author: mickey
Date: 2006-10-09 19:45:40 +0000 (Mon, 09 Oct 2006)
New Revision: 69

Added:
   trunk/src/target/OM-2007/libraries/mokoui/moko-finger-window.c
   trunk/src/target/OM-2007/libraries/mokoui/moko-finger-window.h
Modified:
   trunk/src/target/OM-2007/libraries/mokoui/mokoui.pro
Log:
mokoui: add skeleton for MokoFingerWindow


Added: trunk/src/target/OM-2007/libraries/mokoui/moko-finger-window.c
===================================================================
--- trunk/src/target/OM-2007/libraries/mokoui/moko-finger-window.c	2006-10-02 20:13:09 UTC (rev 68)
+++ trunk/src/target/OM-2007/libraries/mokoui/moko-finger-window.c	2006-10-09 19:45:40 UTC (rev 69)
@@ -0,0 +1,65 @@
+
+/*  moko_finger_window.c
+ *
+ *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *
+ *  Copyright (C) 2006 Vanille-Media
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU Public License as published by
+ *  the Free Software Foundation; version 2.1 of the license.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Public License for more details.
+ *
+ *  Current Version: $Rev$ ($Date: 2006/10/05 17:38:14 $) [$Author: mickey $]
+ */
+
+#include "moko-finger-window.h"
+
+G_DEFINE_TYPE (MokoFingerWindow, moko_finger_window, MOKO_TYPE_WINDOW);
+
+#define FINGER_WINDOW_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOKO_TYPE_FINGER_WINDOW, MokoFingerWindowPrivate))
+
+typedef struct _MokoFingerWindowPrivate MokoFingerWindowPrivate;
+
+struct _MokoFingerWindowPrivate
+{
+};
+
+static void
+moko_finger_window_dispose (GObject *object)
+{
+  if (G_OBJECT_CLASS (moko_finger_window_parent_class)->dispose)
+    G_OBJECT_CLASS (moko_finger_window_parent_class)->dispose (object);
+}
+
+static void
+moko_finger_window_finalize (GObject *object)
+{
+  G_OBJECT_CLASS (moko_finger_window_parent_class)->finalize (object);
+}
+
+static void
+moko_finger_window_class_init (MokoFingerWindowClass *klass)
+{
+  GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+  g_type_class_add_private (klass, sizeof (MokoFingerWindowPrivate));
+
+  object_class->dispose = moko_finger_window_dispose;
+  object_class->finalize = moko_finger_window_finalize;
+}
+
+static void
+moko_finger_window_init (MokoFingerWindow *self)
+{
+}
+
+MokoFingerWindow*
+moko_finger_window_new (void)
+{
+  return g_object_new (MOKO_TYPE_FINGER_WINDOW, NULL);
+}


Property changes on: trunk/src/target/OM-2007/libraries/mokoui/moko-finger-window.c
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/src/target/OM-2007/libraries/mokoui/moko-finger-window.h
===================================================================
--- trunk/src/target/OM-2007/libraries/mokoui/moko-finger-window.h	2006-10-02 20:13:09 UTC (rev 68)
+++ trunk/src/target/OM-2007/libraries/mokoui/moko-finger-window.h	2006-10-09 19:45:40 UTC (rev 69)
@@ -0,0 +1,54 @@
+/*  moko_finger_window.h
+ *
+ *  Authored By Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+ *
+ *  Copyright (C) 2006 Vanille-Media
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU Public License as published by
+ *  the Free Software Foundation; version 2.1 of the license.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU Public License for more details.
+ *
+ *  Current Version: $Rev$ ($Date: 2006/10/05 17:38:14 $) [$Author: mickey $]
+ */
+
+#ifndef _MOKO_FINGER_WINDOW_H_
+#define _MOKO_FINGER_WINDOW_H_
+
+#include <glib-object.h>
+#include "moko-window.h"
+
+G_BEGIN_DECLS
+
+#define MOKO_TYPE_FINGER_WINDOW moko_finger_window_get_type()
+
+#define MOKO_FINGER_WINDOW(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj),   MOKO_TYPE_FINGER_WINDOW, MokoFingerWindow))
+
+#define MOKO_FINGER_WINDOW_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass),   MOKO_TYPE_FINGER_WINDOW, MokoFingerWindowClass))
+
+#define MOKO_IS_FINGER_WINDOW(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj),   MOKO_TYPE_FINGER_WINDOW))
+
+#define MOKO_IS_FINGER_WINDOW_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass),   MOKO_TYPE_FINGER_WINDOW))
+
+#define MOKO_FINGER_WINDOW_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj),   MOKO_TYPE_FINGER_WINDOW, MokoFingerWindowClass))
+
+typedef struct {
+  MokoWindow parent;
+} MokoFingerWindow;
+
+typedef struct {
+  MokoWindowClass parent_class;
+} MokoFingerWindowClass;
+
+GType moko_finger_window_get_type (void);
+
+MokoFingerWindow* moko_finger_window_new (void);
+
+G_END_DECLS
+
+#endif // _MOKO_FINGER_WINDOW_H_
+


Property changes on: trunk/src/target/OM-2007/libraries/mokoui/moko-finger-window.h
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: trunk/src/target/OM-2007/libraries/mokoui/mokoui.pro
===================================================================
--- trunk/src/target/OM-2007/libraries/mokoui/mokoui.pro	2006-10-02 20:13:09 UTC (rev 68)
+++ trunk/src/target/OM-2007/libraries/mokoui/mokoui.pro	2006-10-09 19:45:40 UTC (rev 69)
@@ -1,8 +1,8 @@
 TEMPLATE = lib
 VERSION = 0.0.1
 
-HEADERS = moko-application.h moko-window.h moko-paned-window.h moko-menubox.h moko-toolbar.h
-SOURCES = moko-application.c moko-window.c moko-paned-window.c moko-menubox.c moko-toolbar.c
+HEADERS = moko-application.h moko-window.h moko-finger-window.h moko-paned-window.h moko-menubox.h moko-toolbar.h
+SOURCES = moko-application.c moko-window.c moko-finger-window.c moko-paned-window.c moko-menubox.c moko-toolbar.c
 
 PKGCONFIG += gtk+-2.0
 





More information about the commitlog mailing list