|
Packit Service |
3bdf47 |
/*
|
|
Packit Service |
3bdf47 |
* Copyright © 2011 Christian Persch
|
|
Packit Service |
3bdf47 |
*
|
|
Packit Service |
3bdf47 |
* This program is free software: you can redistribute it and/or modify
|
|
Packit Service |
3bdf47 |
* it under the terms of the GNU General Public License as published by
|
|
Packit Service |
3bdf47 |
* the Free Software Foundation, either version 3 of the License, or
|
|
Packit Service |
3bdf47 |
* (at your option) any later version.
|
|
Packit Service |
3bdf47 |
*
|
|
Packit Service |
3bdf47 |
* This program is distributed in the hope that it will be useful,
|
|
Packit Service |
3bdf47 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
3bdf47 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
3bdf47 |
* GNU General Public License for more details.
|
|
Packit Service |
3bdf47 |
*
|
|
Packit Service |
3bdf47 |
* You should have received a copy of the GNU General Public License
|
|
Packit Service |
3bdf47 |
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
3bdf47 |
*/
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#ifndef TERMINAL_RECEIVER_IMPL_H
|
|
Packit Service |
3bdf47 |
#define TERMINAL_RECEIVER_IMPL_H
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#include <glib-object.h>
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#include "terminal-gdbus-generated.h"
|
|
Packit Service |
3bdf47 |
#include "terminal-screen.h"
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
G_BEGIN_DECLS
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#define TERMINAL_TYPE_RECEIVER_IMPL (terminal_receiver_impl_get_type ())
|
|
Packit Service |
3bdf47 |
#define TERMINAL_RECEIVER_IMPL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TERMINAL_TYPE_RECEIVER_IMPL, TerminalReceiverImpl))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_RECEIVER_IMPL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), TERMINAL_TYPE_RECEIVER_IMPL, TerminalReceiverImplClass))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_IS_RECEIVER_IMPL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TERMINAL_TYPE_RECEIVER_IMPL))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_IS_RECEIVER_IMPL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TERMINAL_TYPE_RECEIVER_IMPL))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_RECEIVER_IMPL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TERMINAL_TYPE_RECEIVER_IMPL, TerminalReceiverImplClass))
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalReceiverImpl TerminalReceiverImpl;
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalReceiverImplClass TerminalReceiverImplClass;
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalReceiverImplPrivate TerminalReceiverImplPrivate;
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
struct _TerminalReceiverImpl
|
|
Packit Service |
3bdf47 |
{
|
|
Packit Service |
3bdf47 |
TerminalReceiverSkeleton parent_instance;
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
/*< private >*/
|
|
Packit Service |
3bdf47 |
TerminalReceiverImplPrivate *priv;
|
|
Packit Service |
3bdf47 |
};
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
struct _TerminalReceiverImplClass
|
|
Packit Service |
3bdf47 |
{
|
|
Packit Service |
3bdf47 |
TerminalReceiverSkeletonClass parent_class;
|
|
Packit Service |
3bdf47 |
};
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GType terminal_receiver_impl_get_type (void);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
TerminalReceiverImpl *terminal_receiver_impl_new (TerminalScreen *screen);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
TerminalScreen *terminal_receiver_impl_get_screen (TerminalReceiverImpl *impl);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
void terminal_receiver_impl_unset_screen (TerminalReceiverImpl *impl);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
/* ------------------------------------------------------------------------- */
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#define TERMINAL_TYPE_FACTORY_IMPL (terminal_factory_impl_get_type ())
|
|
Packit Service |
3bdf47 |
#define TERMINAL_FACTORY_IMPL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), TERMINAL_TYPE_FACTORY_IMPL, TerminalFactoryImpl))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_FACTORY_IMPL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TERMINAL_TYPE_FACTORY_IMPL, TerminalFactoryImplClass))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_IS_FACTORY_IMPL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), TERMINAL_TYPE_FACTORY_IMPL))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_IS_FACTORY_IMPL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TERMINAL_TYPE_FACTORY_IMPL))
|
|
Packit Service |
3bdf47 |
#define TERMINAL_FACTORY_IMPL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TERMINAL_TYPE_FACTORY_IMPL, TerminalFactoryImplClass))
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalFactoryImpl TerminalFactoryImpl;
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalFactoryImplPrivate TerminalFactoryImplPrivate;
|
|
Packit Service |
3bdf47 |
typedef struct _TerminalFactoryImplClass TerminalFactoryImplClass;
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
struct _TerminalFactoryImplClass {
|
|
Packit Service |
3bdf47 |
TerminalFactorySkeletonClass parent_class;
|
|
Packit Service |
3bdf47 |
};
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
struct _TerminalFactoryImpl
|
|
Packit Service |
3bdf47 |
{
|
|
Packit Service |
3bdf47 |
TerminalFactorySkeleton parent_instance;
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
TerminalFactoryImplPrivate *priv;
|
|
Packit Service |
3bdf47 |
};
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
GType terminal_factory_impl_get_type (void);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
TerminalFactory *terminal_factory_impl_new (void);
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
G_END_DECLS
|
|
Packit Service |
3bdf47 |
|
|
Packit Service |
3bdf47 |
#endif /* !TERMINAL_RECEIVER_IMPL_H */
|