~darkxst/ubuntu/quantal/telepathy-logger/lp1049210

« back to all changes in this revision

Viewing changes to telepathy-logger/channel-text-internal.h

  • Committer: Ken VanDine
  • Date: 2011-02-24 04:29:08 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: ken.vandine@canonical.com-20110224042908-l3tn31dq84kspmt5
Tags: 0.2.0-0ubuntu1
releasing version 0.2.0-0ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
 
/*
3
 
 * Copyright (C) 2009 Collabora Ltd.
4
 
 *
5
 
 * This library is free software; you can redistribute it and/or
6
 
 * modify it under the terms of the GNU Lesser General Public
7
 
 * License as published by the Free Software Foundation; either
8
 
 * version 2.1 of the License, or (at your option) any later version.
9
 
 *
10
 
 * This library is distributed in the hope that it will be useful,
11
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13
 
 * Lesser General Public License for more details.
14
 
 *
15
 
 * You should have received a copy of the GNU Lesser General Public
16
 
 * License along with this library; if not, write to the Free Software
17
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
 
 *
19
 
 * Authors: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
20
 
 */
21
 
 
22
 
#ifndef __TPL_CHANNEL_TEXT_H__
23
 
#define __TPL_CHANNEL_TEXT_H__
24
 
 
25
 
/*
26
 
 * http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel-text.html#tp-cli-channel-type-text-connect-to-received
27
 
 */
28
 
 
29
 
#include <glib-object.h>
30
 
#include <telepathy-glib/account.h>
31
 
#include <telepathy-glib/channel.h>
32
 
#include <telepathy-glib/connection.h>
33
 
#include <telepathy-glib/contact.h>
34
 
 
35
 
#include <telepathy-logger/channel-internal.h>
36
 
 
37
 
G_BEGIN_DECLS
38
 
#define TPL_TYPE_CHANNEL_TEXT                  (_tpl_channel_text_get_type ())
39
 
#define TPL_CHANNEL_TEXT(obj)                  (G_TYPE_CHECK_INSTANCE_CAST ((obj), TPL_TYPE_CHANNEL_TEXT, TplChannelText))
40
 
#define TPL_CHANNEL_TEXT_CLASS(klass)          (G_TYPE_CHECK_CLASS_CAST ((klass), TPL_TYPE_CHANNEL_TEXT, TplChannelTextClass))
41
 
#define TPL_IS_CHANNEL_TEXT(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TPL_TYPE_CHANNEL_TEXT))
42
 
#define TPL_IS_CHANNEL_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TPL_TYPE_CHANNEL_TEXT))
43
 
#define TPL_CHANNEL_TEXT_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), TPL_TYPE_CHANNEL_TEXT, TplChannelTextClass))
44
 
 
45
 
typedef struct _TplChannelTextPriv TplChannelTextPriv;
46
 
typedef struct
47
 
{
48
 
  TplChannel parent;
49
 
 
50
 
  /* private */
51
 
  TplChannelTextPriv *priv;
52
 
} TplChannelText;
53
 
 
54
 
typedef struct
55
 
{
56
 
  TplChannelClass parent_class;
57
 
} TplChannelTextClass;
58
 
 
59
 
GType _tpl_channel_text_get_type (void);
60
 
 
61
 
TplChannelText * _tpl_channel_text_new (TpConnection *conn,
62
 
    const gchar *object_path, GHashTable *tp_chan_props, TpAccount *account,
63
 
    GError **error);
64
 
 
65
 
G_END_DECLS
66
 
#endif /* __TPL_CHANNEL_TEXT_H__ */