Commit e6c1452a authored by Lubosz Sarnecki's avatar Lubosz Sarnecki

src: Document derivable class declarations.

parent 53227b85
......@@ -22,6 +22,13 @@ G_BEGIN_DECLS
G_DECLARE_DERIVABLE_TYPE (XrdOverlayModel, xrd_overlay_model, XRD,
OVERLAY_MODEL, OpenVROverlay)
/**
* XrdOverlayModelClass:
* @parent: The object class structure needs to be the first
* element in the widget class structure in order for the class mechanism
* to work correctly. This allows a XrdOverlayModelClass pointer to be cast to
* a OpenVROverlayClass pointer.
*/
struct _XrdOverlayModelClass
{
OpenVROverlayClass parent;
......
......@@ -23,6 +23,13 @@ G_BEGIN_DECLS
G_DECLARE_DERIVABLE_TYPE (XrdSceneObject, xrd_scene_object,
XRD, SCENE_OBJECT, GObject)
/**
* XrdSceneObjectClass:
* @parent: The object class structure needs to be the first
* element in the widget class structure in order for the class mechanism
* to work correctly. This allows a XrdSceneObjectClass pointer to be cast to
* a GObjectClass pointer.
*/
struct _XrdSceneObjectClass
{
GObjectClass parent;
......
......@@ -27,6 +27,13 @@ G_BEGIN_DECLS
G_DECLARE_DERIVABLE_TYPE (XrdSceneWindow, xrd_scene_window,
XRD, SCENE_WINDOW, XrdSceneObject)
/**
* XrdSceneWindowClass:
* @parent: The object class structure needs to be the first
* element in the widget class structure in order for the class mechanism
* to work correctly. This allows a XrdSceneWindowClass pointer to be cast to
* a XrdSceneObjectClass pointer.
*/
struct _XrdSceneWindowClass
{
XrdSceneObjectClass parent;
......
......@@ -29,6 +29,16 @@ G_BEGIN_DECLS
#define XRD_TYPE_CLIENT xrd_client_get_type()
G_DECLARE_DERIVABLE_TYPE (XrdClient, xrd_client, XRD, CLIENT, GObject)
/**
* XrdClientClass:
* @parent: The object class structure needs to be the first
* element in the widget class structure in order for the class mechanism
* to work correctly. This allows a XrdClientClass pointer to be cast to
* a GObjectClass pointer.
* @add_button: Create a label button.
* @get_uploader: Get a #GulkanClient from the #XrdClient.
* @init_controller: Initialize a #XrdController.
*/
struct _XrdClientClass
{
GObjectClass parent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment