~ubuntu-branches/ubuntu/utopic/gossip/utopic

« back to all changes in this revision

Viewing changes to protocols/telepathy/gossip-telepathy-message.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-03-05 08:21:49 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20070305082149-9hnkboi8t8fizggz
Tags: 0.23-0ubuntu1
* New upstream release.
* debian/control.in:
  - changed Maintainer field.
  - bumped dbus requirement.

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) 2006 Eitan Isaacson <eitan@ascender.com>
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU General Public License as
 
7
 * published by the Free Software Foundation; either version 2 of the
 
8
 * License, or (at your option) any later version.
 
9
 *
 
10
 * This program 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
 * General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public
 
16
 * License along with this program; if not, write to the
 
17
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
18
 * Boston, MA 02111-1307, USA.
 
19
 */
 
20
 
 
21
#ifndef __GOSSIP_TELEPATHY_MESSAGE_H__
 
22
#define __GOSSIP_TELEPATHY_MESSAGE_H__
 
23
 
 
24
#include "gossip-telepathy.h"
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
typedef struct _GossipTelepathyMessage GossipTelepathyMessage;
 
29
 
 
30
GossipTelepathyMessage *gossip_telepathy_message_init       (GossipTelepathy        *telepathy);
 
31
void                    gossip_telepathy_message_finalize   (GossipTelepathyMessage *message);
 
32
void                    gossip_telepathy_message_newchannel (GossipTelepathyMessage *message,
 
33
                                                             TpChan                 *new_chan,
 
34
                                                             guint                   handle);
 
35
void                    gossip_telepathy_message_send       (GossipTelepathyMessage *message,
 
36
                                                             guint                   handle,
 
37
                                                             const gchar            *message_body);
 
38
void                    gossip_telepathy_message_send_state (GossipTelepathyMessage *message,
 
39
                                                             guint                   handle,
 
40
                                                             guint                   state);
 
41
 
 
42
 
 
43
G_END_DECLS
 
44
 
 
45
#endif /* __GOSSIP_TELEPATHY_MESSAGE_H__ */