fef2bfc7a6dabf83d9e38e50491fae40bac9f818
[framework/web/wrt-plugins-common.git] / src / modules / API / Messaging / MmsSlide.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
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
7  *
8  *        http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16 /**
17  *
18  * @file       MmsSlide.h
19  * @author     Grzegorz Krawczyk (g.krawczyk@samsung.com)
20  * @version    0.1
21  * @brief
22  */
23
24 #ifndef MMS_SLIDE_H
25 #define MMS_SLIDE_H
26
27 #include "IMmsSlide.h"
28 #include "MmsSlideProperty.h"
29
30 namespace WrtDeviceApis {
31 namespace Messaging {
32 namespace Api {
33 class MmsSlide : public virtual IMmsSlide
34 {
35   public:
36     MmsSlide();
37
38     virtual ~MmsSlide();
39
40     //duration
41     virtual Ulong getDuration() const;
42     virtual void setDuration(Ulong duration);
43
44     //image
45     virtual const std::string& getImageFilename() const;
46     virtual void setImageFilename(const std::string& filename);
47     virtual Ulong getImageBegin() const;
48     virtual void setImageBegin(Ulong value);
49     virtual Ulong getImageEnd() const;
50     virtual void setImageEnd(Ulong value);
51
52     //audio
53     virtual const std::string& getAudioFilename() const;
54     virtual void setAudioFilename(const std::string& filename);
55     virtual Ulong getAudioBegin() const;
56     virtual void setAudioBegin(Ulong value);
57     virtual Ulong getAudioEnd() const;
58     virtual void setAudioEnd(Ulong value);
59
60     //text
61     virtual const std::string& getTextFilename() const;
62     virtual void setTextFilename(const std::string& filename);
63     virtual Ulong getTextBegin() const;
64     virtual void setTextBegin(Ulong value);
65     virtual Ulong getTextEnd() const;
66     virtual void setTextEnd(Ulong value);
67
68     //video
69     virtual const std::string& getVideoFilename() const;
70     virtual void setVideoFilename(const std::string& filename);
71     virtual Ulong getVideoBegin() const;
72     virtual void setVideoBegin(Ulong value);
73     virtual Ulong getVideoEnd() const;
74     virtual void setVideoEnd(Ulong value);
75
76   private:
77     Ulong m_duration;
78
79     MmsSlideProperty m_image;
80     MmsSlideProperty m_audio;
81     MmsSlideProperty m_text;
82     MmsSlideProperty m_video;
83 };
84 }
85 }}
86 #endif