1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /*
3  * Libbrasero-burn
4  * Copyright (C) Philippe Rouquier 2005-2009 <bonfire-app@wanadoo.fr>
5  *
6  * Libbrasero-burn is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * The Libbrasero-burn authors hereby grant permission for non-GPL compatible
12  * GStreamer plugins to be used and distributed together with GStreamer
13  * and Libbrasero-burn. This permission is above and beyond the permissions granted
14  * by the GPL license by which Libbrasero-burn is covered. If you modify this code
15  * you may extend this exception to your version of the code, but you are not
16  * obligated to do so. If you do not wish to do so, delete this exception
17  * statement from your version.
18  *
19  * Libbrasero-burn is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  * GNU Library General Public License for more details.
23  *
24  * You should have received a copy of the GNU General Public License
25  * along with this program; if not, write to:
26  * 	The Free Software Foundation, Inc.,
27  * 	51 Franklin Street, Fifth Floor
28  * 	Boston, MA  02110-1301, USA.
29  */
30 
31 #ifndef _BRASERO_TAGS_H_
32 #define _BRASERO_TAGS_H_
33 
34 #include <glib.h>
35 
36 G_BEGIN_DECLS
37 
38 /**
39  * Some defined and usable tags for a track
40  */
41 
42 #define BRASERO_TRACK_MEDIUM_ADDRESS_START_TAG		"track::medium::address::start"
43 #define BRASERO_TRACK_MEDIUM_ADDRESS_END_TAG		"track::medium::address::end"
44 
45 /**
46  * Array of filenames (on medium) which have a wrong checksum value (G_TYPE_STRV)
47  */
48 
49 #define BRASERO_TRACK_MEDIUM_WRONG_CHECKSUM_TAG		"track::medium::error::checksum::list"
50 
51 /**
52  * Strings
53  */
54 
55 #define BRASERO_TRACK_STREAM_TITLE_TAG			"track::stream::info::title"
56 #define BRASERO_TRACK_STREAM_COMPOSER_TAG		"track::stream::info::composer"
57 #define BRASERO_TRACK_STREAM_ARTIST_TAG			"track::stream::info::artist"
58 #define BRASERO_TRACK_STREAM_ALBUM_TAG			"track::stream::info::album"
59 #define BRASERO_TRACK_STREAM_ISRC_TAG			"track::stream::info::isrc"
60 #define BRASERO_TRACK_STREAM_THUMBNAIL_TAG		"track::stream::snapshot"
61 #define BRASERO_TRACK_STREAM_MIME_TAG			"track::stream::mime"
62 
63 /**
64  * Int
65  */
66 
67 
68 /**
69  * This tag (for sessions) is used to set an estimated size, used to determine
70  * in the burn option dialog if the selected medium is big enough.
71  */
72 
73 #define BRASERO_DATA_TRACK_SIZE_TAG			"track::data::estimated_size"
74 #define BRASERO_STREAM_TRACK_SIZE_TAG			"track::stream::estimated_size"
75 
76 /**
77  * Some defined and usable tags for a session
78  */
79 
80 /**
81  * Gives the uri (gchar *) of the cover
82  */
83 #define BRASERO_COVER_URI			"session::art::cover"
84 
85 /**
86  * Define the audio streams for a DVD
87  */
88 #define BRASERO_DVD_STREAM_FORMAT		"session::DVD::stream::format"			/* Int */
89 #define BRASERO_SESSION_STREAM_AUDIO_FORMAT	"session::stream::audio::format"	/* Int */
90 
91 /**
92  * Define the format: whether VCD or SVCD
93  */
94 enum {
95 	BRASERO_VCD_NONE,
96 	BRASERO_VCD_V1,
97 	BRASERO_VCD_V2,
98 	BRASERO_SVCD
99 };
100 #define BRASERO_VCD_TYPE			"session::VCD::format"
101 
102 /**
103  * This is the video format that should be used.
104  */
105 enum {
106 	BRASERO_VIDEO_FRAMERATE_NATIVE,
107 	BRASERO_VIDEO_FRAMERATE_NTSC,
108 	BRASERO_VIDEO_FRAMERATE_PAL_SECAM
109 };
110 #define BRASERO_VIDEO_OUTPUT_FRAMERATE		"session::video::framerate"
111 
112 /**
113  * Aspect ratio
114  */
115 enum {
116 	BRASERO_VIDEO_ASPECT_NATIVE,
117 	BRASERO_VIDEO_ASPECT_4_3,
118 	BRASERO_VIDEO_ASPECT_16_9
119 };
120 #define BRASERO_VIDEO_OUTPUT_ASPECT		"session::video::aspect"
121 
122 G_END_DECLS
123 
124 #endif
125