mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-07 16:59:25 +00:00
char-device: Prepare to move functions to methods
Move structure declaration at the end. Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
2b11c917dc
commit
26e6d15551
@ -44,14 +44,6 @@ struct RedCharDevicePrivate;
|
||||
#define RedCharDeviceClientOpaque RedClient
|
||||
#endif
|
||||
|
||||
/* 'SpiceCharDeviceState' name is used for consistency with what spice-char.h exports */
|
||||
struct SpiceCharDeviceState: public GObject
|
||||
{
|
||||
RedCharDevicePrivate *priv;
|
||||
void ref() { g_object_ref(this); }
|
||||
void unref() { g_object_unref(this); }
|
||||
};
|
||||
|
||||
struct RedCharDeviceClass: public GObjectClass
|
||||
{
|
||||
/*
|
||||
@ -247,6 +239,14 @@ SpiceCharDeviceInstance *red_char_device_get_device_instance(RedCharDevice *dev)
|
||||
|
||||
SpiceCharDeviceInterface *spice_char_device_get_interface(SpiceCharDeviceInstance *instance);
|
||||
|
||||
/* 'SpiceCharDeviceState' name is used for consistency with what spice-char.h exports */
|
||||
struct SpiceCharDeviceState: public GObject
|
||||
{
|
||||
RedCharDevicePrivate *priv;
|
||||
void ref() { g_object_ref(this); }
|
||||
void unref() { g_object_unref(this); }
|
||||
};
|
||||
|
||||
SPICE_END_DECLS
|
||||
|
||||
#endif /* CHAR_DEVICE_H_ */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user