loudmouth/lm-idummy.h
author Mikael Berthe <mikael@lilotux.net>
Mon, 25 Jan 2016 18:35:10 +0100
changeset 685 dfa02c1c7fda
parent 570 5588f29b0721
child 690 7ccf2113ec5f
permissions -rw-r--r--
Bumped version to 1.5.2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
570
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     1
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     2
/*
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     3
 * Copyright (C) 2008 Imendio AB
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     4
 *
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     5
 * This program is free software; you can redistribute it and/or
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     6
 * modify it under the terms of the GNU Lesser General Public License as
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     7
 * published by the Free Software Foundation; either version 2 of the
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     8
 * License, or (at your option) any later version.
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
     9
 *
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    10
 * This program is distributed in the hope that it will be useful,
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    13
 * Lesser General Public License for more details.
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    14
 *
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    15
 * You should have received a copy of the GNU Lesser General Public
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    16
 * License along with this program; if not, write to the
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    17
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    18
 * Boston, MA 02111-1307, USA.
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    19
 */
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    20
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    21
#ifndef __LM_IDUMMY_H__
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    22
#define __LM_IDUMMY_H__
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    23
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    24
#include <glib-object.h>
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    25
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    26
G_BEGIN_DECLS
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    27
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    28
#define LM_TYPE_IDUMMY             (lm_idummy_get_type())
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    29
#define LM_IDUMMY(o)               (G_TYPE_CHECK_INSTANCE_CAST((o), LM_TYPE_IDUMMY, LmIDummy))
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    30
#define LM_IS_IDUMMY(o)            (G_TYPE_CHECK_INSTANCE_TYPE((o), LM_TYPE_IDUMMY))
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    31
#define LM_IDUMMY_GET_IFACE(o)     (G_TYPE_INSTANCE_GET_INTERFACE((o), LM_TYPE_IDUMMY, LmIDummyIface))
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    32
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    33
typedef struct _LmIDummy      LmIDummy;
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    34
typedef struct _LmIDummyIface LmIDummyIface;
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    35
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    36
struct _LmIDummyIface {
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    37
    GTypeInterface parent;
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    38
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    39
    /* <vtable> */
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    40
    int     (*function)      (LmIDummy *idummy);
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    41
};
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    42
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    43
GType          lm_idummy_get_type          (void);
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    44
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    45
gint           lm_idummy_function          (LmIDummy *idummy);
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    46
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    47
G_END_DECLS
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    48
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    49
#endif /* __LM_IDUMMY_H__ */
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    50