~ubuntu-branches/ubuntu/oneiric/empathy/oneiric-security

« back to all changes in this revision

Viewing changes to libempathy/empathy-channel-factory.h

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-08-22 14:16:36 UTC
  • mfrom: (1.1.75 upstream)
  • Revision ID: james.westby@ubuntu.com-20110822141636-iiju0fvx1f9sl3oz
Tags: 3.1.5.1-1ubuntu1
* New upstream version
  - crashed with SIGSEGV in dbus_connection_dispatch (LP: #829826)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2010 Collabora Ltd.
3
 
 *
4
 
 * This program is free software; you can redistribute it and/or
5
 
 * modify it under the terms of the GNU General Public License as
6
 
 * published by the Free Software Foundation; either version 2 of the
7
 
 * License, or (at your option) any later version.
8
 
 *
9
 
 * This program is distributed in the hope that it will be useful,
10
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
 
 * General Public License for more details.
13
 
 *
14
 
 * You should have received a copy of the GNU General Public
15
 
 * License along with this program; if not, write to the
16
 
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17
 
 * Boston, MA  02110-1301  USA
18
 
 *
19
 
 * Authors: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
20
 
 */
21
 
 
22
 
#ifndef __EMPATHY_CHANNEL_FACTORY_H__
23
 
#define __EMPATHY_CHANNEL_FACTORY_H__
24
 
 
25
 
#include <glib-object.h>
26
 
 
27
 
G_BEGIN_DECLS
28
 
 
29
 
#define EMPATHY_TYPE_CHANNEL_FACTORY         (empathy_channel_factory_get_type ())
30
 
#define EMPATHY_CHANNEL_FACTORY(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_CHANNEL_FACTORY, EmpathyChannelFactory))
31
 
#define EMPATHY_CHANNEL_FACTORY_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), EMPATHY_TYPE_CHANNEL_FACTORY, EmpathyChannelFactoryClass))
32
 
#define EMPATHY_IS_CHANNEL_FACTORY(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_CHANNEL_FACTORY))
33
 
#define EMPATHY_IS_CHANNEL_FACTORY_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_CHANNEL_FACTORY))
34
 
#define EMPATHY_CHANNEL_FACTORY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_CHANNEL_FACTORY, EmpathyChannelFactoryClass))
35
 
 
36
 
typedef struct _EmpathyChannelFactory EmpathyChannelFactory;
37
 
typedef struct _EmpathyChannelFactoryClass EmpathyChannelFactoryClass;
38
 
typedef struct _EmpathyChannelFactoryPrivate EmpathyChannelFactoryPrivate;
39
 
 
40
 
struct _EmpathyChannelFactory
41
 
{
42
 
  GObject parent;
43
 
  EmpathyChannelFactoryPrivate *priv;
44
 
};
45
 
 
46
 
struct _EmpathyChannelFactoryClass
47
 
{
48
 
  GObjectClass parent_class;
49
 
};
50
 
 
51
 
GType empathy_channel_factory_get_type (void) G_GNUC_CONST;
52
 
 
53
 
EmpathyChannelFactory * empathy_channel_factory_new (void);
54
 
 
55
 
EmpathyChannelFactory * empathy_channel_factory_dup (void);
56
 
 
57
 
G_END_DECLS
58
 
#endif /* __EMPATHY_CHANNEL_FACTORY_H__ */