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 #ifndef _ABSTRACT_LAYER_MEDIACONTENT_VIDEO_H_
19 #define _ABSTRACT_LAYER_MEDIACONTENT_VIDEO_H_
24 #include <dpl/optional.h>
25 #include <dpl/shared_ptr.h>
26 #include "MediacontentMedia.h"
33 namespace Mediacontent {
35 class MediacontentVideo : public MediacontentMedia
40 virtual ~MediacontentVideo();
42 int getVideoPlayedTime() const;
43 int getVideoPlayCount() const;
44 int getVideoDuration() const;
45 int getVideoWidth() const;
46 int getVideoHeight() const;
47 double getVideoLatitude() const;
48 double getVideoLongitude() const;
49 string getVideoAlbum() const;
50 string getVideoArtist() const;
52 void setVideoPlayedTime(const int &value);
53 void setVideoPlayCount(const int &value);
54 void setVideoDuration(const int &value);
55 void setVideoWidth(const int &value);
56 void setVideoHeight(const int &value);
57 void setVideoLatitude(const double &value);
58 void setVideoLongitude(const double &value);
59 void setVideoAlbum(const string &value);
60 void setVideoArtist(const string &value);
65 double m_videoLongitude;
66 double m_videoLatitude;
69 int m_videoPlayedTime;
74 bool m_isChangedPlayCount;
75 bool m_isChangedPlayedTime;
78 typedef DPL::SharedPtr<MediacontentVideo> MediacontentVideoPtr;
85 #endif /* _ABSTRACT_LAYER_MEDIACONTENT_VIDEO_H_ */