loudmouth/lm-idummy.h
author convert-repo
Mon, 25 Jan 2021 22:55:03 +0000
changeset 741 d79ab1c77b17
parent 690 7ccf2113ec5f
permissions -rw-r--r--
update tags
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
690
7ccf2113ec5f Update the postal address of the FSF
Frank Zschockelt <lm@freakysoft.de>
parents: 570
diff changeset
    16
 * License along with this program; if not, see <https://www.gnu.org/licenses>
570
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    17
 */
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    18
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    19
#ifndef __LM_IDUMMY_H__
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    20
#define __LM_IDUMMY_H__
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    21
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    22
#include <glib-object.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
G_BEGIN_DECLS
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
#define LM_TYPE_IDUMMY             (lm_idummy_get_type())
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    27
#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
    28
#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
    29
#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
    30
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    31
typedef struct _LmIDummy      LmIDummy;
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    32
typedef struct _LmIDummyIface LmIDummyIface;
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    33
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    34
struct _LmIDummyIface {
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    35
    GTypeInterface parent;
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    36
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    37
    /* <vtable> */
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    38
    int     (*function)      (LmIDummy *idummy);
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    39
};
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    40
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    41
GType          lm_idummy_get_type          (void);
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
gint           lm_idummy_function          (LmIDummy *idummy);
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
G_END_DECLS
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
#endif /* __LM_IDUMMY_H__ */
5588f29b0721 Added interface dummy code for copying
Mikael Hallendal <micke@imendio.com>
parents:
diff changeset
    48