2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * @file IMmsSlideProperties.h
19 * @author Grzegorz Krawczyk (g.krawczyk@samsung.com)
24 #ifndef IMMS_SLIDE_PROPERTIES_H
25 #define IMMS_SLIDE_PROPERTIES_H
29 namespace WrtDeviceApis {
32 class IMmsSlidePropertyImage
35 typedef unsigned long Ulong;
39 virtual ~IMmsSlidePropertyImage()
46 virtual const std::string& getImageFilename() const = 0;
50 * @param[in] picture filename
51 * @throw MMS_MESSAGE_SIZE_EXCEEDED_ERROR
52 * @throw MMS_VIDEO_SLIDE_ERROR
54 virtual void setImageFilename(const std::string& filename) = 0;
58 * begining of image presentation within a slide in milisecond
60 virtual Ulong getImageBegin() const = 0;
64 * begining of image presentation within a slide in milisecond
65 * @param[in] - value in miliseconds
67 virtual void setImageBegin(Ulong value) = 0;
71 * end of image presentation within a slide in milisecond
73 virtual Ulong getImageEnd() const = 0;
77 * end of image presentation within a slide in milisecond
78 * @param[in] - value in miliseconds
80 virtual void setImageEnd(Ulong value) = 0;
83 //--------------------------------------------------------------------------
85 class IMmsSlidePropertyAudio
88 typedef unsigned long Ulong;
92 virtual ~IMmsSlidePropertyAudio()
99 virtual const std::string& getAudioFilename() const = 0;
103 * @param[in] audio filename
104 * @throw MMS_MESSAGE_SIZE_EXCEEDED_ERROR
105 * @throw MMS_VIDEO_SLIDE_ERROR
107 virtual void setAudioFilename(const std::string& filename) = 0;
111 * begining of image presentation within a slide in milisecond
113 virtual Ulong getAudioBegin() const = 0;
117 * begining of audio presentation within a slide in milisecond
118 * @param[in] - value in miliseconds
120 virtual void setAudioBegin(Ulong value) = 0;
124 * end of audio presentation within a slide in milisecond
126 virtual Ulong getAudioEnd() const = 0;
130 * end of audio presentation within a slide in milisecond
131 * @param[in] - value in miliseconds
133 virtual void setAudioEnd(Ulong value) = 0;
136 //--------------------------------------------------------------------------
138 class IMmsSlidePropertyText
141 typedef unsigned long Ulong;
145 virtual ~IMmsSlidePropertyText()
152 virtual const std::string& getTextFilename() const = 0;
156 * @param[in] text filename
157 * @throw MMS_MESSAGE_SIZE_EXCEEDED_ERROR
158 * @throw MMS_VIDEO_SLIDE_ERROR
160 virtual void setTextFilename(const std::string& filename) = 0;
164 * begining of text presentation within a slide in milisecond
166 virtual Ulong getTextBegin() const = 0;
170 * begining of text presentation within a slide in milisecond
171 * @param[in] - value in miliseconds
173 virtual void setTextBegin(Ulong value) = 0;
177 * end of text presentation within a slide in milisecond
179 virtual Ulong getTextEnd() const = 0;
183 * end of text presentation within a slide in milisecond
184 * @param[in] - value in miliseconds
186 virtual void setTextEnd(Ulong value) = 0;
189 //--------------------------------------------------------------------------
191 class IMmsSlidePropertyVideo
194 typedef unsigned long Ulong;
198 virtual ~IMmsSlidePropertyVideo()
205 virtual const std::string& getVideoFilename() const = 0;
209 * @param[in] vdeo filename
210 * @throw MMS_MESSAGE_SIZE_EXCEEDED_ERROR
211 * @throw MMS_VIDEO_SLIDE_ERROR
213 virtual void setVideoFilename(const std::string& filename) = 0;
217 * begining of video presentation within a slide in milisecond
219 virtual Ulong getVideoBegin() const = 0;
223 * begining of video presentation within a slide in milisecond
224 * @param[in] - value in miliseconds
226 virtual void setVideoBegin(Ulong value) = 0;
230 * end of video presentation within a slide in milisecond
232 virtual Ulong getVideoEnd() const = 0;
236 * end of video presentation within a slide in milisecond
237 * @param[in] - value in miliseconds
239 virtual void setVideoEnd(Ulong value) = 0;