summaryrefslogtreecommitdiff
path: root/audio-video-properties/bacon-video-widget-properties.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio-video-properties/bacon-video-widget-properties.h')
-rw-r--r--audio-video-properties/bacon-video-widget-properties.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/audio-video-properties/bacon-video-widget-properties.h b/audio-video-properties/bacon-video-widget-properties.h
new file mode 100644
index 0000000..32ec5e0
--- /dev/null
+++ b/audio-video-properties/bacon-video-widget-properties.h
@@ -0,0 +1,62 @@
+/* bacon-video-widget-properties.h: Properties dialog for BaconVideoWidget
+
+ Copyright (C) 2002 Bastien Nocera <[email protected]>
+
+ The Gnome 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.
+
+ The Gnome 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 the Gnome 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.
+
+ Author: Bastien Nocera <[email protected]>
+ */
+
+#ifndef BACON_VIDEO_WIDGET_PROPERTIES_H
+#define BACON_VIDEO_WIDGET_PROPERTIES_H
+
+#include <gtk/gtk.h>
+
+#define BACON_TYPE_VIDEO_WIDGET_PROPERTIES (bacon_video_widget_properties_get_type ())
+#define BACON_VIDEO_WIDGET_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BACON_TYPE_VIDEO_WIDGET_PROPERTIES, BaconVideoWidgetProperties))
+#define BACON_VIDEO_WIDGET_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BACON_TYPE_VIDEO_WIDGET_PROPERTIES, BaconVideoWidgetPropertiesClass))
+#define BACON_IS_VIDEO_WIDGET_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BACON_TYPE_VIDEO_WIDGET_PROPERTIES))
+#define BACON_IS_VIDEO_WIDGET_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BACON_TYPE_VIDEO_WIDGET_PROPERTIES))
+
+typedef struct BaconVideoWidgetProperties BaconVideoWidgetProperties;
+typedef struct BaconVideoWidgetPropertiesClass BaconVideoWidgetPropertiesClass;
+typedef struct BaconVideoWidgetPropertiesPrivate BaconVideoWidgetPropertiesPrivate;
+
+struct BaconVideoWidgetProperties {
+ GtkBox parent;
+ BaconVideoWidgetPropertiesPrivate *priv;
+};
+
+struct BaconVideoWidgetPropertiesClass {
+ GtkBoxClass parent_class;
+};
+
+GType bacon_video_widget_properties_get_type (void);
+GtkWidget *bacon_video_widget_properties_new (void);
+
+void bacon_video_widget_properties_reset (BaconVideoWidgetProperties *props);
+void bacon_video_widget_properties_set_label (BaconVideoWidgetProperties *props,
+ const char *name,
+ const char *text);
+void bacon_video_widget_properties_set_duration (BaconVideoWidgetProperties *props,
+ int duration);
+void bacon_video_widget_properties_set_has_type (BaconVideoWidgetProperties *props,
+ gboolean has_video,
+ gboolean has_audio);
+void bacon_video_widget_properties_set_framerate (BaconVideoWidgetProperties *props,
+ float framerate);
+
+#endif /* BACON_VIDEO_WIDGET_PROPERTIES_H */