~ubuntu-branches/ubuntu/maverick/telepathy-salut/maverick

« back to all changes in this revision

Viewing changes to src/salut-avahi-muc-channel.h

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2008-09-17 19:03:47 UTC
  • mfrom: (7.1.8 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080917190347-fhkvbcpf8jp8wxkw
Tags: 0.3.3-2
* Use my debian.org address in Uploaders
* debian/patches/fix-activity-announce.patch:
  - Only announce OLPC activity we actually joined (dev.laptop.org #8441)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * salut-avahi-muc-channel.h - Header for SalutAvahiMucChannel
 
3
 * Copyright (C) 2008 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
 
 
20
#ifndef __SALUT_AVAHI_MUC_CHANNEL_H__
 
21
#define __SALUT_AVAHI_MUC_CHANNEL_H__
 
22
 
 
23
#include <glib-object.h>
 
24
 
 
25
#include <gibber/gibber-muc-connection.h>
 
26
 
 
27
#include "salut-muc-channel.h"
 
28
#include "salut-connection.h"
 
29
#include "salut-xmpp-connection-manager.h"
 
30
#include "salut-avahi-discovery-client.h"
 
31
 
 
32
G_BEGIN_DECLS
 
33
 
 
34
typedef struct _SalutAvahiMucChannel SalutAvahiMucChannel;
 
35
typedef struct _SalutAvahiMucChannelClass SalutAvahiMucChannelClass;
 
36
 
 
37
struct _SalutAvahiMucChannelClass
 
38
{
 
39
  SalutMucChannelClass parent_class;
 
40
};
 
41
 
 
42
struct _SalutAvahiMucChannel
 
43
{
 
44
  SalutMucChannel parent;
 
45
 
 
46
  gpointer priv;
 
47
};
 
48
 
 
49
GType salut_avahi_muc_channel_get_type (void);
 
50
 
 
51
/* TYPE MACROS */
 
52
#define SALUT_TYPE_AVAHI_MUC_CHANNEL \
 
53
  (salut_avahi_muc_channel_get_type ())
 
54
#define SALUT_AVAHI_MUC_CHANNEL(obj) \
 
55
  (G_TYPE_CHECK_INSTANCE_CAST((obj), SALUT_TYPE_AVAHI_MUC_CHANNEL, SalutAvahiMucChannel))
 
56
#define SALUT_AVAHI_MUC_CHANNEL_CLASS(klass) \
 
57
  (G_TYPE_CHECK_CLASS_CAST((klass), SALUT_TYPE_AVAHI_MUC_CHANNEL, SalutAvahiMucChannelClass))
 
58
#define SALUT_IS_AVAHI_MUC_CHANNEL(obj) \
 
59
  (G_TYPE_CHECK_INSTANCE_TYPE((obj), SALUT_TYPE_AVAHI_MUC_CHANNEL))
 
60
#define SALUT_IS_AVAHI_MUC_CHANNEL_CLASS(klass) \
 
61
  (G_TYPE_CHECK_CLASS_TYPE((klass), SALUT_TYPE_AVAHI_MUC_CHANNEL))
 
62
#define SALUT_AVAHI_MUC_CHANNEL_GET_CLASS(obj) \
 
63
  (G_TYPE_INSTANCE_GET_CLASS ((obj), SALUT_TYPE_AVAHI_MUC_CHANNEL, SalutAvahiMucChannelClass))
 
64
 
 
65
SalutAvahiMucChannel * salut_avahi_muc_channel_new (SalutConnection *connection,
 
66
    const gchar *path, GibberMucConnection *muc_connection, TpHandle handle,
 
67
    const gchar *name, SalutAvahiDiscoveryClient *discovery_client,
 
68
    gboolean creator, SalutXmppConnectionManager *xcm);
 
69
 
 
70
G_END_DECLS
 
71
 
 
72
#endif /* #ifndef __SALUT_AVAHI_MUC_CHANNEL_H__*/