/*
 *  This file is part of the WebKit open source project.
 *  This file has been generated by generate-bindings.pl. DO NOT MODIFY!
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Library General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This library 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
 *  Library General Public License for more details.
 *
 *  You should have received a copy of the GNU Library General Public License
 *  along with this library; see the file COPYING.LIB.  If not, write to
 *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 *  Boston, MA 02110-1301, USA.
 */

#ifndef WebKitDOMVTTCue_h
#define WebKitDOMVTTCue_h

#ifdef WEBKIT_DOM_USE_UNSTABLE_API

#include <glib-object.h>
#include <webkitdom/WebKitDOMTextTrackCue.h>
#include <webkitdom/webkitdomdefines-unstable.h>

G_BEGIN_DECLS

#define WEBKIT_DOM_TYPE_VTT_CUE            (webkit_dom_vtt_cue_get_type())
#define WEBKIT_DOM_VTT_CUE(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_DOM_TYPE_VTT_CUE, WebKitDOMVTTCue))
#define WEBKIT_DOM_VTT_CUE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  WEBKIT_DOM_TYPE_VTT_CUE, WebKitDOMVTTCueClass)
#define WEBKIT_DOM_IS_VTT_CUE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_DOM_TYPE_VTT_CUE))
#define WEBKIT_DOM_IS_VTT_CUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),  WEBKIT_DOM_TYPE_VTT_CUE))
#define WEBKIT_DOM_VTT_CUE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  WEBKIT_DOM_TYPE_VTT_CUE, WebKitDOMVTTCueClass))

struct _WebKitDOMVTTCue {
    WebKitDOMTextTrackCue parent_instance;
};

struct _WebKitDOMVTTCueClass {
    WebKitDOMTextTrackCueClass parent_class;
};

WEBKIT_API GType
webkit_dom_vtt_cue_get_type(void);

/**
 * webkit_dom_vtt_cue_get_cue_as_html:
 * @self: A #WebKitDOMVTTCue
 *
 * Returns: (transfer none): A #WebKitDOMDocumentFragment
 *
 * Stability: Unstable
**/
WEBKIT_API WebKitDOMDocumentFragment*
webkit_dom_vtt_cue_get_cue_as_html(WebKitDOMVTTCue* self);

/**
 * webkit_dom_vtt_cue_get_vertical:
 * @self: A #WebKitDOMVTTCue
 *
 * Returns: A #gchar
 *
 * Stability: Unstable
**/
WEBKIT_API gchar*
webkit_dom_vtt_cue_get_vertical(WebKitDOMVTTCue* self);

/**
 * webkit_dom_vtt_cue_set_vertical:
 * @self: A #WebKitDOMVTTCue
 * @value: A #gchar
 * @error: #GError
 *
 * Stability: Unstable
**/
WEBKIT_API void
webkit_dom_vtt_cue_set_vertical(WebKitDOMVTTCue* self, const gchar* value, GError** error);

/**
 * webkit_dom_vtt_cue_get_snap_to_lines:
 * @self: A #WebKitDOMVTTCue
 *
 * Returns: A #gboolean
 *
 * Stability: Unstable
**/
WEBKIT_API gboolean
webkit_dom_vtt_cue_get_snap_to_lines(WebKitDOMVTTCue* self);

/**
 * webkit_dom_vtt_cue_set_snap_to_lines:
 * @self: A #WebKitDOMVTTCue
 * @value: A #gboolean
 *
 * Stability: Unstable
**/
WEBKIT_API void
webkit_dom_vtt_cue_set_snap_to_lines(WebKitDOMVTTCue* self, gboolean value);

/**
 * webkit_dom_vtt_cue_get_line:
 * @self: A #WebKitDOMVTTCue
 *
 * Returns: A #gdouble
 *
 * Stability: Unstable
**/
WEBKIT_API gdouble
webkit_dom_vtt_cue_get_line(WebKitDOMVTTCue* self);

/**
 * webkit_dom_vtt_cue_set_line:
 * @self: A #WebKitDOMVTTCue
 * @value: A #gdouble
 * @error: #GError
 *
 * Stability: Unstable
**/
WEBKIT_API void
webkit_dom_vtt_cue_set_line(WebKitDOMVTTCue* self, gdouble value, GError** error);

/**
 * webkit_dom_vtt_cue_get_position:
 * @self: A #WebKitDOMVTTCue
 *
 * Returns: A #gdouble
 *
 * Stability: Unstable
**/
WEBKIT_API gdouble
webkit_dom_vtt_cue_get_position(WebKitDOMVTTCue* self);

/**
 * webkit_dom_vtt_cue_set_position:
 * @self: A #WebKitDOMVTTCue
 * @value: A #gdouble
 * @error: #GError
 *
 * Stability: Unstable
**/
WEBKIT_API void
webkit_dom_vtt_cue_set_position(WebKitDOMVTTCue* self, gdouble value, GError** error);

/**
 * webkit_dom_vtt_cue_get_size:
 * @self: A #WebKitDOMVTTCue
 *
 * Returns: A #gdouble
 *
 * Stability: Unstable
**/
WEBKIT_API gdouble
webkit_dom_vtt_cue_get_size(WebKitDOMVTTCue* self);

/**
 * webkit_dom_vtt_cue_set_size:
 * @self: A #WebKitDOMVTTCue
 * @value: A #gdouble
 * @error: #GError
 *
 * Stability: Unstable
**/
WEBKIT_API void
webkit_dom_vtt_cue_set_size(WebKitDOMVTTCue* self, gdouble value, GError** error);

/**
 * webkit_dom_vtt_cue_get_align:
 * @self: A #WebKitDOMVTTCue
 *
 * Returns: A #gchar
 *
 * Stability: Unstable
**/
WEBKIT_API gchar*
webkit_dom_vtt_cue_get_align(WebKitDOMVTTCue* self);

/**
 * webkit_dom_vtt_cue_set_align:
 * @self: A #WebKitDOMVTTCue
 * @value: A #gchar
 * @error: #GError
 *
 * Stability: Unstable
**/
WEBKIT_API void
webkit_dom_vtt_cue_set_align(WebKitDOMVTTCue* self, const gchar* value, GError** error);

/**
 * webkit_dom_vtt_cue_get_text:
 * @self: A #WebKitDOMVTTCue
 *
 * Returns: A #gchar
 *
 * Stability: Unstable
**/
WEBKIT_API gchar*
webkit_dom_vtt_cue_get_text(WebKitDOMVTTCue* self);

/**
 * webkit_dom_vtt_cue_set_text:
 * @self: A #WebKitDOMVTTCue
 * @value: A #gchar
 *
 * Stability: Unstable
**/
WEBKIT_API void
webkit_dom_vtt_cue_set_text(WebKitDOMVTTCue* self, const gchar* value);

G_END_DECLS

#endif /* WEBKIT_DOM_USE_UNSTABLE_API */
#endif /* WebKitDOMVTTCue_h */
