diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-20 16:08:55 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-12-09 13:56:26 +0100 |
commit | 300372f4f2050a32ba04f69ff3fdab549c81c5b0 (patch) | |
tree | 6faa49bb7a24ffe306c5bf3e067589252f069a04 /telepathy-glib/cm-message.h | |
parent | 7e0518e2d1012d99e128b736d717888f2c2eeecc (diff) | |
download | telepathy-glib-300372f4f2050a32ba04f69ff3fdab549c81c5b0.tar.gz |
add TpCMMessage
Diffstat (limited to 'telepathy-glib/cm-message.h')
-rw-r--r-- | telepathy-glib/cm-message.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/telepathy-glib/cm-message.h b/telepathy-glib/cm-message.h new file mode 100644 index 000000000..70e895ae1 --- /dev/null +++ b/telepathy-glib/cm-message.h @@ -0,0 +1,44 @@ +/* + * cm-message.h - Header for TpCMMessage + * Copyright (C) 2006-2010 Collabora Ltd. + * Copyright (C) 2006-2008 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_CM_MESSAGE_H__ +#define __TP_CM_MESSAGE_H__ + +G_BEGIN_DECLS + +#include <glib-object.h> + +#include <telepathy-glib/message.h> + +#define TP_TYPE_CM_MESSAGE (tp_cm_message_get_type ()) +#define TP_CM_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TP_TYPE_CM_MESSAGE, TpCMMessage)) +#define TP_CM_MESSAGE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), TP_TYPE_CM_MESSAGE, TpCMMessageClass)) +#define TP_IS_CM_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TP_TYPE_CM_MESSAGE)) +#define TP_IS_CM_MESSAGE_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), TP_TYPE_CM_MESSAGE)) +#define TP_CM_MESSAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_CM_MESSAGE, TpCMMessageClass)) + +typedef struct _TpCMMessage TpCMMessage; +typedef struct _TpCMMessageClass TpCMMessageClass; + +GType tp_cm_message_get_type (void); + +G_END_DECLS + +#endif /* __TP_CM_MESSAGE_H__ */ |