summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-protocol-internal.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-05-03 18:26:24 +0100
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2010-06-29 20:29:29 -0300
commitf3e5b1593eb303fbda3b0a8eabed667d6ed2991c (patch)
tree2b3b3ae9971908686de7948bca04800f21b3c5ae /telepathy-glib/base-protocol-internal.h
parentd95c55350c9ae457832df80abb60a6af5bdbe9ae (diff)
downloadtelepathy-glib-f3e5b1593eb303fbda3b0a8eabed667d6ed2991c.tar.gz
Add stub base-protocol.[ch] and move some TpCMParamSpec functionality there
_tp_cm_param_spec_to_dbus is new code, which streamlines the conversion between a TpCMParamSpec and the Param_Spec (susv) struct used on D-Bus; the rest has been moved without changes.
Diffstat (limited to 'telepathy-glib/base-protocol-internal.h')
-rw-r--r--telepathy-glib/base-protocol-internal.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/telepathy-glib/base-protocol-internal.h b/telepathy-glib/base-protocol-internal.h
new file mode 100644
index 000000000..42e94c5e5
--- /dev/null
+++ b/telepathy-glib/base-protocol-internal.h
@@ -0,0 +1,36 @@
+/* TpBaseProtocol (not public API)
+ *
+ * Copyright © 2007-2010 Collabora Ltd.
+ * Copyright © 2007-2009 Nokia Corporation
+ *
+ * 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
+ */
+
+#ifndef TP_BASE_PROTOCOL_INTERNAL_H
+#define TP_BASE_PROTOCOL_INTERNAL_H
+
+#include <telepathy-glib/base-protocol.h>
+
+G_BEGIN_DECLS
+
+void _tp_cm_param_spec_set_default (const TpCMParamSpec *paramspec,
+ const TpCMParamSetter set_param,
+ gpointer params);
+
+GValueArray *_tp_cm_param_spec_to_dbus (const TpCMParamSpec *paramspec);
+
+G_END_DECLS
+
+#endif