aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo.cecchi@collabora.co.uk>2009-08-01 23:00:30 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-22 21:13:11 +0800
commit8bccbdc3d107c019ef858d0ad15c769c31028731 (patch)
tree310f2082aa0a96c44c78e1ae8d86c2d50b7a2a1d
parent74209eb1b8b0cf9df87e66e2e028cae885b39a5f (diff)
downloadgsoc2013-empathy-8bccbdc3d107c019ef858d0ad15c769c31028731.tar
gsoc2013-empathy-8bccbdc3d107c019ef858d0ad15c769c31028731.tar.gz
gsoc2013-empathy-8bccbdc3d107c019ef858d0ad15c769c31028731.tar.bz2
gsoc2013-empathy-8bccbdc3d107c019ef858d0ad15c769c31028731.tar.lz
gsoc2013-empathy-8bccbdc3d107c019ef858d0ad15c769c31028731.tar.xz
gsoc2013-empathy-8bccbdc3d107c019ef858d0ad15c769c31028731.tar.zst
gsoc2013-empathy-8bccbdc3d107c019ef858d0ad15c769c31028731.zip
Skeleton of EmpathyAccountAssistant
-rw-r--r--src/empathy-account-assistant.c43
-rw-r--r--src/empathy-account-assistant.h59
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 000000000..d264df367
--- /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 000000000..03e99e265
--- /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__ */