author | psykose <alice@ayaya.dev> |
Thu, 21 Apr 2022 20:23:32 +0200 | |
changeset 744 | 4ebe32453682 |
parent 690 | 7ccf2113ec5f |
permissions | -rw-r--r-- |
516
4dd3aa6b83e5
Change the tab width to 4 steps in the emacs headers
Mikael Hallendal <micke@imendio.com>
parents:
515
diff
changeset
|
1 |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
425 | 2 |
/* |
426
ab47db6da589
LmSimpleIO now implements the LmXmppWriter interface.
Mikael Hallendal <micke@imendio.com>
parents:
425
diff
changeset
|
3 |
* Copyright (C) 2008 Imendio AB |
425 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU Lesser General Public License as |
|
7 |
* published by the Free Software Foundation; either version 2 of the |
|
8 |
* License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program 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 |
|
690
7ccf2113ec5f
Update the postal address of the FSF
Frank Zschockelt <lm@freakysoft.de>
parents:
518
diff
changeset
|
16 |
* License along with this program; if not, see <https://www.gnu.org/licenses> |
425 | 17 |
*/ |
18 |
||
19 |
#ifndef __LM_SIMPLE_IO_H__ |
|
20 |
#define __LM_SIMPLE_IO_H__ |
|
21 |
||
22 |
#include <glib-object.h> |
|
23 |
||
24 |
G_BEGIN_DECLS |
|
25 |
||
428
a2e6e58c38b8
Fixed a left over DUMMY -> SIMPLE_IO
Mikael Hallendal <micke@imendio.com>
parents:
427
diff
changeset
|
26 |
#define LM_TYPE_SIMPLE_IO (lm_simple_io_get_type ()) |
a2e6e58c38b8
Fixed a left over DUMMY -> SIMPLE_IO
Mikael Hallendal <micke@imendio.com>
parents:
427
diff
changeset
|
27 |
#define LM_SIMPLE_IO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LM_TYPE_SIMPLE_IO, LmSimpleIO)) |
a2e6e58c38b8
Fixed a left over DUMMY -> SIMPLE_IO
Mikael Hallendal <micke@imendio.com>
parents:
427
diff
changeset
|
28 |
#define LM_SIMPLE_IO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LM_TYPE_SIMPLE_IO, LmSimpleIOClass)) |
a2e6e58c38b8
Fixed a left over DUMMY -> SIMPLE_IO
Mikael Hallendal <micke@imendio.com>
parents:
427
diff
changeset
|
29 |
#define LM_IS_SIMPLE_IO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LM_TYPE_SIMPLE_IO)) |
a2e6e58c38b8
Fixed a left over DUMMY -> SIMPLE_IO
Mikael Hallendal <micke@imendio.com>
parents:
427
diff
changeset
|
30 |
#define LM_IS_SIMPLE_IO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LM_TYPE_SIMPLE_IO)) |
a2e6e58c38b8
Fixed a left over DUMMY -> SIMPLE_IO
Mikael Hallendal <micke@imendio.com>
parents:
427
diff
changeset
|
31 |
#define LM_SIMPLE_IO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LM_TYPE_SIMPLE_IO, LmSimpleIOClass)) |
425 | 32 |
|
33 |
typedef struct LmSimpleIO LmSimpleIO; |
|
34 |
typedef struct LmSimpleIOClass LmSimpleIOClass; |
|
35 |
||
36 |
struct LmSimpleIO { |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
37 |
GObject parent; |
425 | 38 |
}; |
39 |
||
40 |
struct LmSimpleIOClass { |
|
518
cdd6a0c5b439
Went over all of the files and made sure they all were indented the same way.
Mikael Hallendal <micke@imendio.com>
parents:
516
diff
changeset
|
41 |
GObjectClass parent_class; |
425 | 42 |
}; |
43 |
||
44 |
GType lm_simple_io_get_type (void); |
|
45 |
||
46 |
G_END_DECLS |
|
47 |
||
48 |
#endif /* __LM_SIMPLE_IO_H__ */ |
|
49 |