[vino] Add VinoDbusError files
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Subject: [vino] Add VinoDbusError files
- Date: Sun, 7 Jun 2009 15:10:57 -0400 (EDT)
commit 3e41258263dab2c160223b32855a177e2af855cb
Author: Arnaud Maillet <arnaud maillet collabora co uk>
Date: Mon May 25 14:22:05 2009 +0200
Add VinoDbusError files
---
server/vino-dbus-error.c | 33 +++++++++++++++++++++++++++++++++
server/vino-dbus-error.h | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/server/vino-dbus-error.c b/server/vino-dbus-error.c
new file mode 100644
index 0000000..baaa76c
--- /dev/null
+++ b/server/vino-dbus-error.c
@@ -0,0 +1,33 @@
+/*
+ * © 2009, Collabora Ltd
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * 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
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ * Authors:
+ * Arnaud Maillet <arnaud maillet collabora co uk>
+ */
+
+#include "vino-dbus-error.h"
+
+GQuark
+vino_dbus_error_quark (void)
+{
+ static GQuark quark = 0;
+ if (!quark)
+ quark = g_quark_from_static_string ("VinoErrorQuark");
+
+ return quark;
+}
diff --git a/server/vino-dbus-error.h b/server/vino-dbus-error.h
new file mode 100644
index 0000000..b967150
--- /dev/null
+++ b/server/vino-dbus-error.h
@@ -0,0 +1,36 @@
+/*
+ * © 2009, Collabora Ltd
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * 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
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ * Authors:
+ * Arnaud Maillet <arnaud maillet collabora co uk>
+ */
+
+#ifndef __VINO_DBUS_ERROR_H__
+#define __VINO_DBUS_ERROR_H__
+
+#include <dbus/dbus-glib.h>
+
+typedef enum
+{
+ VINO_DBUS_ERROR_NOT_IMPLEMENTED,
+ VINO_DBUS_ERROR_FAILED
+} VinoDBusError;
+
+GQuark vino_dbus_error_quark (void);
+
+#endif /* __VINO_DBUS_ERROR_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]