[empathy/mc5] Skeleton of EmpathyAccountAssistant
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5] Skeleton of EmpathyAccountAssistant
- Date: Sat, 22 Aug 2009 18:50:12 +0000 (UTC)
commit 8bccbdc3d107c019ef858d0ad15c769c31028731
Author: Cosimo Cecchi <cosimo cecchi collabora co uk>
Date: Sat Aug 1 17:00:30 2009 +0200
Skeleton of EmpathyAccountAssistant
src/empathy-account-assistant.c | 43 ++++++++++++++++++++++++++++
src/empathy-account-assistant.h | 59 +++++++++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
new file mode 100644
index 0000000..d264df3
--- /dev/null
+++ b/src/empathy-account-assistant.c
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2009 Collabora Ltd.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Authors: Cosimo Cecchi <cosimo cecchi collabora co uk>
+ */
+
+/* empathy-account-assistant.c */
+
+#include "empathy-account-assistant.h"
+
+G_DEFINE_TYPE (EmpathyAccountAssistant, empathy_account_assistant,
+ GTK_TYPE_ASSISTANT)
+
+
+static void
+empathy_account_assistant_class_init (EmpathyAccountAssistantClass *klass)
+{
+}
+
+static void
+empathy_account_assistant_init (EmpathyAccountAssistant *self)
+{
+}
+
+EmpathyAccountAssistant*
+empathy_account_assistant_new (void)
+{
+ return g_object_new (EMPATHY_TYPE_ACCOUNT_ASSISTANT, NULL);
+}
diff --git a/src/empathy-account-assistant.h b/src/empathy-account-assistant.h
new file mode 100644
index 0000000..03e99e2
--- /dev/null
+++ b/src/empathy-account-assistant.h
@@ -0,0 +1,59 @@
+/*
+ * Copyright (C) 2009 Collabora Ltd.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Authors: Cosimo Cecchi <cosimo cecchi collabora co uk>
+ */
+
+/* empathy-account-assistant.h */
+
+#ifndef __EMPATHY_ACCOUNT_ASSISTANT_H__
+#define __EMPATHY_ACCOUNT_ASSISTANT_H__
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define EMPATHY_TYPE_ACCOUNT_ASSISTANT empathy_account_assistant_get_type()
+#define EMPATHY_ACCOUNT_ASSISTANT(obj) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_ACCOUNT_ASSISTANT, EmpathyAccountAssistant))
+#define EMPATHY_ACCOUNT_ASSISTANT_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_ACCOUNT_ASSISTANT, EmpathyAccountAssistantClass))
+#define EMPATHY_IS_ACCOUNT_ASSISTANT(obj) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_ACCOUNT_ASSISTANT))
+#define EMPATHY_IS_ACCOUNT_ASSISTANT_CLASS(klass) \
+ (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_ACCOUNT_ASSISTANT))
+#define EMPATHY_ACCOUNT_ASSISTANT_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_ACCOUNT_ASSISTANT, EmpathyAccountAssistantClass))
+
+typedef struct {
+ GtkAssistant parent;
+
+ /* private */
+ gpointer priv;
+} EmpathyAccountAssistant;
+
+typedef struct {
+ GtkAssistantClass parent_class;
+} EmpathyAccountAssistantClass;
+
+GType empathy_account_assistant_get_type (void);
+
+EmpathyAccountAssistant* empathy_account_assistant_new (void);
+
+G_END_DECLS
+
+#endif /* __EMPATHY_ACCOUNT_ASSISTANT_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]