Logo Search packages:      
Sourcecode: mail-notification version File versions

mn-unsupported-mailbox.h

/* Generated by GOB (v2.0.11)   (do not edit directly) */

#include <glib.h>
#include <glib-object.h>


#include "mn-mailbox.h"

#ifndef __MN_UNSUPPORTED_MAILBOX_H__
#define __MN_UNSUPPORTED_MAILBOX_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


/*
 * Type checking and casting macros
 */
#define MN_TYPE_UNSUPPORTED_MAILBOX (mn_unsupported_mailbox_get_type())
#define MN_UNSUPPORTED_MAILBOX(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), mn_unsupported_mailbox_get_type(), MNUnsupportedMailbox)
#define MN_UNSUPPORTED_MAILBOX_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), mn_unsupported_mailbox_get_type(), MNUnsupportedMailbox const)
#define MN_UNSUPPORTED_MAILBOX_CLASS(klass)     G_TYPE_CHECK_CLASS_CAST((klass), mn_unsupported_mailbox_get_type(), MNUnsupportedMailboxClass)
#define MN_IS_UNSUPPORTED_MAILBOX(obj)    G_TYPE_CHECK_INSTANCE_TYPE((obj), mn_unsupported_mailbox_get_type ())

#define MN_UNSUPPORTED_MAILBOX_GET_CLASS(obj)   G_TYPE_INSTANCE_GET_CLASS((obj), mn_unsupported_mailbox_get_type(), MNUnsupportedMailboxClass)

/* Private structure type */
typedef struct _MNUnsupportedMailboxPrivate MNUnsupportedMailboxPrivate;

/*
 * Main object structure
 */
#ifndef __TYPEDEF_MN_UNSUPPORTED_MAILBOX__
#define __TYPEDEF_MN_UNSUPPORTED_MAILBOX__
typedef struct _MNUnsupportedMailbox MNUnsupportedMailbox;
#endif
struct _MNUnsupportedMailbox {
      MNMailbox __parent__;
      /*< private >*/
      MNUnsupportedMailboxPrivate *_priv;
};

/*
 * Class definition
 */
typedef struct _MNUnsupportedMailboxClass MNUnsupportedMailboxClass;
struct _MNUnsupportedMailboxClass {
      MNMailboxClass __parent__;
};


/*
 * Public methods
 */
GType mn_unsupported_mailbox_get_type     (void);
const char *      mn_unsupported_mailbox_get_reason   (MNUnsupportedMailbox * self);
MNMailbox *       mn_unsupported_mailbox_new    (MNURI * uri,
                              const char * reason);

/*
 * Argument wrapping macros
 */
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
#define MN_UNSUPPORTED_MAILBOX_PROP_REASON(arg)       "reason", __extension__ ({gchar *z = (arg); z;})
#define MN_UNSUPPORTED_MAILBOX_GET_PROP_REASON(arg)   "reason", __extension__ ({gchar **z = (arg); z;})
#else /* __GNUC__ && !__STRICT_ANSI__ */
#define MN_UNSUPPORTED_MAILBOX_PROP_REASON(arg)       "reason",(gchar *)(arg)
#define MN_UNSUPPORTED_MAILBOX_GET_PROP_REASON(arg)   "reason",(gchar **)(arg)
#endif /* __GNUC__ && !__STRICT_ANSI__ */


#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif

Generated by  Doxygen 1.6.0   Back to index