telepathygabble/inc/muc-factory.h
changeset 10 59927b2d3b75
parent 0 d0f3a028347a
equal deleted inserted replaced
0:d0f3a028347a 10:59927b2d3b75
     1 /*
       
     2  * muc-factory.h - Header for GabbleMucFactory
       
     3  * Copyright (C) 2006 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 __MUC_FACTORY_H__
       
    21 #define __MUC_FACTORY_H__
       
    22 
       
    23 #include <glib-object.h>
       
    24 
       
    25 G_BEGIN_DECLS
       
    26 
       
    27 typedef struct _GabbleMucFactory GabbleMucFactory;
       
    28 typedef struct _GabbleMucFactoryClass GabbleMucFactoryClass;
       
    29 
       
    30 struct _GabbleMucFactoryClass {
       
    31   GObjectClass parent_class;
       
    32 };
       
    33 
       
    34 struct _GabbleMucFactory {
       
    35   GObject parent;
       
    36 };
       
    37 
       
    38 IMPORT_C GType gabble_muc_factory_get_type(void);
       
    39 
       
    40 /* TYPE MACROS */
       
    41 #define GABBLE_TYPE_MUC_FACTORY \
       
    42   (gabble_muc_factory_get_type())
       
    43 #define GABBLE_MUC_FACTORY(obj) \
       
    44   (G_TYPE_CHECK_INSTANCE_CAST((obj), GABBLE_TYPE_MUC_FACTORY, GabbleMucFactory))
       
    45 #define GABBLE_MUC_FACTORY_CLASS(klass) \
       
    46   (G_TYPE_CHECK_CLASS_CAST((klass), GABBLE_TYPE_MUC_FACTORY, GabbleMucFactoryClass))
       
    47 #define GABBLE_IS_MUC_FACTORY(obj) \
       
    48   (G_TYPE_CHECK_INSTANCE_TYPE((obj), GABBLE_TYPE_MUC_FACTORY))
       
    49 #define GABBLE_IS_MUC_FACTORY_CLASS(klass) \
       
    50   (G_TYPE_CHECK_CLASS_TYPE((klass), GABBLE_TYPE_MUC_FACTORY))
       
    51 #define GABBLE_MUC_FACTORY_GET_CLASS(obj) \
       
    52   (G_TYPE_INSTANCE_GET_CLASS ((obj), GABBLE_TYPE_MUC_FACTORY, GabbleMucFactoryClass))
       
    53 
       
    54 G_END_DECLS
       
    55 
       
    56 #endif /* #ifndef __MUC_FACTORY_H__ */