X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=mafw-gst-subtitles-renderer%2Flibmafw-gst-renderer%2Fmafw-gst-renderer-state-paused.h;fp=mafw-gst-subtitles-renderer%2Flibmafw-gst-renderer%2Fmafw-gst-renderer-state-paused.h;h=f0098d8f50cc9e82b6073cc18e41a01eb82ba096;hb=be2c98fb83895d10ac44af7b9a9c3e00ca54bf49;hp=0000000000000000000000000000000000000000;hpb=c2bbb2bb3bead80144e2dda3ccd40599e4a2b48d;p=mafwsubrenderer diff --git a/mafw-gst-subtitles-renderer/libmafw-gst-renderer/mafw-gst-renderer-state-paused.h b/mafw-gst-subtitles-renderer/libmafw-gst-renderer/mafw-gst-renderer-state-paused.h new file mode 100644 index 0000000..f0098d8 --- /dev/null +++ b/mafw-gst-subtitles-renderer/libmafw-gst-renderer/mafw-gst-renderer-state-paused.h @@ -0,0 +1,76 @@ +/* + * This file is a part of MAFW + * + * Copyright (C) 2007, 2008, 2009 Nokia Corporation, all rights reserved. + * + * Contact: Visa Smolander + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * as published by the Free Software Foundation; version 2.1 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA + * + */ + +#ifndef MAFW_GST_RENDERER_STATE_PAUSED_H +#define MAFW_GST_RENDERER_STATE_PAUSED_H + + +#include "mafw-gst-renderer.h" +#include "mafw-gst-renderer-state.h" + +G_BEGIN_DECLS + +/*---------------------------------------------------------------------------- + GObject type conversion macros + ----------------------------------------------------------------------------*/ + +#define MAFW_TYPE_GST_RENDERER_STATE_PAUSED \ + (mafw_gst_renderer_state_paused_get_type()) +#define MAFW_GST_RENDERER_STATE_PAUSED(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj), MAFW_TYPE_GST_RENDERER_STATE_PAUSED, \ + MafwGstRendererStatePaused)) +#define MAFW_IS_GST_RENDERER_STATE_PAUSED(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj), MAFW_TYPE_GST_RENDERER_STATE_PAUSED)) +#define MAFW_GST_RENDERER_STATE_PAUSED_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass), MAFW_TYPE_GST_RENDERER_STATE_PAUSED, \ + MafwGstRendererStatePaused)) +#define MAFW_GST_RENDERER_STATE_PAUSED_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS((obj), MAFW_TYPE_GST_RENDERER_STATE_PAUSED, \ + MafwGstRendererStatePausedClass)) +#define MAFW_IS_GST_RENDERER_STATE_PAUSED_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE((klass), MAFW_TYPE_GST_RENDERER_STATE_PAUSED)) + +/*---------------------------------------------------------------------------- + Type definitions + ----------------------------------------------------------------------------*/ + + +typedef struct _MafwGstRendererStatePaused MafwGstRendererStatePaused; +typedef struct _MafwGstRendererStatePausedClass MafwGstRendererStatePausedClass; + +struct _MafwGstRendererStatePausedClass { + MafwGstRendererStateClass parent_class; +}; + +struct _MafwGstRendererStatePaused { + MafwGstRendererState parent; +}; + +GType mafw_gst_renderer_state_paused_get_type(void); + +GObject *mafw_gst_renderer_state_paused_new(MafwGstRenderer *renderer); + +G_END_DECLS + +#endif