1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
/*
* Copyright © 2011 Christian Persch
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TERMINAL_RECEIVER_IMPL_H
#define TERMINAL_RECEIVER_IMPL_H
#include <glib-object.h>
#include "terminal-gdbus-generated.h"
#include "terminal-screen.h"
G_BEGIN_DECLS
#define TERMINAL_TYPE_RECEIVER_IMPL (terminal_receiver_impl_get_type ())
#define TERMINAL_RECEIVER_IMPL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TERMINAL_TYPE_RECEIVER_IMPL, TerminalReceiverImpl))
#define TERMINAL_RECEIVER_IMPL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), TERMINAL_TYPE_RECEIVER_IMPL, TerminalReceiverImplClass))
#define TERMINAL_IS_RECEIVER_IMPL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TERMINAL_TYPE_RECEIVER_IMPL))
#define TERMINAL_IS_RECEIVER_IMPL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TERMINAL_TYPE_RECEIVER_IMPL))
#define TERMINAL_RECEIVER_IMPL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TERMINAL_TYPE_RECEIVER_IMPL, TerminalReceiverImplClass))
typedef struct _TerminalReceiverImpl TerminalReceiverImpl;
typedef struct _TerminalReceiverImplClass TerminalReceiverImplClass;
typedef struct _TerminalReceiverImplPrivate TerminalReceiverImplPrivate;
struct _TerminalReceiverImpl
{
TerminalReceiverSkeleton parent_instance;
/*< private >*/
TerminalReceiverImplPrivate *priv;
};
struct _TerminalReceiverImplClass
{
TerminalReceiverSkeletonClass parent_class;
};
GType terminal_receiver_impl_get_type (void);
TerminalReceiverImpl *terminal_receiver_impl_new (TerminalScreen *screen);
TerminalScreen *terminal_receiver_impl_get_screen (TerminalReceiverImpl *impl);
void terminal_receiver_impl_unset_screen (TerminalReceiverImpl *impl);
/* ------------------------------------------------------------------------- */
#define TERMINAL_TYPE_FACTORY_IMPL (terminal_factory_impl_get_type ())
#define TERMINAL_FACTORY_IMPL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), TERMINAL_TYPE_FACTORY_IMPL, TerminalFactoryImpl))
#define TERMINAL_FACTORY_IMPL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TERMINAL_TYPE_FACTORY_IMPL, TerminalFactoryImplClass))
#define TERMINAL_IS_FACTORY_IMPL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), TERMINAL_TYPE_FACTORY_IMPL))
#define TERMINAL_IS_FACTORY_IMPL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TERMINAL_TYPE_FACTORY_IMPL))
#define TERMINAL_FACTORY_IMPL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TERMINAL_TYPE_FACTORY_IMPL, TerminalFactoryImplClass))
typedef struct _TerminalFactoryImpl TerminalFactoryImpl;
typedef struct _TerminalFactoryImplPrivate TerminalFactoryImplPrivate;
typedef struct _TerminalFactoryImplClass TerminalFactoryImplClass;
struct _TerminalFactoryImplClass {
TerminalFactorySkeletonClass parent_class;
};
struct _TerminalFactoryImpl
{
TerminalFactorySkeleton parent_instance;
TerminalFactoryImplPrivate *priv;
};
GType terminal_factory_impl_get_type (void);
TerminalFactory *terminal_factory_impl_new (void);
G_END_DECLS
#endif /* !TERMINAL_RECEIVER_IMPL_H */
|