diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-09-27 16:41:41 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-09-27 16:41:41 +0200 |
commit | a0296592b966ced5ec7c3c931a6f0448df9fdb37 (patch) | |
tree | e224c28b899ec3682beeffb5964245de6dfe03c9 | |
parent | 16887ce169be854cd6f2be58911c05371f03e319 (diff) |
g-objectify main channel
-rw-r--r-- | gtk/channel-display.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gtk/channel-display.h b/gtk/channel-display.h index e69de29..e6cb596 100644 --- a/gtk/channel-display.h +++ b/gtk/channel-display.h @@ -0,0 +1,35 @@ +#ifndef __SPICE_CLIENT_DISPLAY_CHANNEL_H__ +#define __SPICE_CLIENT_DISPLAY_CHANNEL_H__ + +#include "spice-client.h" + +G_BEGIN_DECLS + +#define SPICE_TYPE_DISPLAY_CHANNEL (spice_display_channel_get_type()) +#define SPICE_DISPLAY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SPICE_TYPE_DISPLAY_CHANNEL, SpiceDisplayChannel)) +#define SPICE_DISPLAY_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPICE_TYPE_DISPLAY_CHANNEL, SpiceDisplayChannelClass)) +#define SPICE_IS_DISPLAY_CHANNEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SPICE_TYPE_DISPLAY_CHANNEL)) +#define SPICE_IS_DISPLAY_CHANNEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SPICE_TYPE_DISPLAY_CHANNEL)) +#define SPICE_DISPLAY_CHANNEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), SPICE_TYPE_DISPLAY_CHANNEL, SpiceDisplayChannelClass)) + +typedef struct _SpiceDisplayChannel SpiceDisplayChannel; +typedef struct _SpiceDisplayChannelClass SpiceDisplayChannelClass; +typedef struct spice_display_channel spice_display_channel; + +struct _SpiceDisplayChannel { + SpiceChannel parent; + spice_display_channel *priv; + /* Do not add fields to this struct */ +}; + +struct _SpiceDisplayChannelClass { + SpiceChannelClass parent_class; + + /* Do not add fields to this struct */ +}; + +GType spice_display_channel_get_type(void); + +G_END_DECLS + +#endif /* __SPICE_CLIENT_DISPLAY_CHANNEL_H__ */ |