Beta merge 2
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Mediacontent / MediacontentImage.cpp
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 #include <dpl/log/log.h>
19 #include <Commons/Exception.h>
20
21 #include "MediacontentImage.h"
22
23 namespace TizenApis {
24 namespace Api {
25 namespace Mediacontent {
26
27 MediacontentImage::MediacontentImage()
28 {
29 }
30
31 MediacontentImage::~MediacontentImage()
32 {
33 }
34
35 double MediacontentImage::getImageLatitude() const
36 {
37         return m_imageLatitude;
38 }
39
40 double MediacontentImage::getImageLongitude() const
41 {
42         return m_imageLongitude;        
43
44 }
45
46 void MediacontentImage::setImageLatitude(const double  &value)
47 {
48         m_imageLatitude = value;
49 }
50 void MediacontentImage::setImageLongitude(const double  &value)
51 {
52         m_imageLongitude = value;
53 }
54
55
56 int MediacontentImage::getImageWidth() const
57 {
58         return m_imageWidth;
59
60 }
61
62 void MediacontentImage::setImageWidth(const int &value)
63 {
64         m_imageWidth = value;
65
66 }
67
68 int MediacontentImage::getImageHeight() const
69 {
70         return m_imageHeight;
71 }
72 void MediacontentImage::setImageHeight(const int &value)
73 {
74         m_imageHeight = value;
75
76 }
77
78 string MediacontentImage::getImageOrientation() const
79 {
80         return m_imageOrientation;
81 }
82
83 void MediacontentImage::setImageOrientation(const string &value)
84 {
85         m_imageOrientation = value;
86
87 }
88
89
90 void MediacontentImage::display()
91 {
92         MediacontentMedia::display();
93         LogDebug("m_imageWidth : " << m_imageWidth);
94         LogDebug("m_imageHeight : " << m_imageHeight);
95         LogDebug("m_imageOrientation : " << m_imageOrientation);
96         LogDebug("m_imageLongitude : " << m_imageLongitude);
97         LogDebug("m_imageLatitude : " << m_imageLatitude);      
98
99 }
100
101
102 }
103 }
104 }