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 #include <dpl/log/log.h>
19 #include <Commons/Exception.h>
21 #include "MediacontentImage.h"
25 namespace Mediacontent {
27 MediacontentImage::MediacontentImage()
31 MediacontentImage::~MediacontentImage()
35 double MediacontentImage::getImageLatitude() const
37 return m_imageLatitude;
40 double MediacontentImage::getImageLongitude() const
42 return m_imageLongitude;
46 void MediacontentImage::setImageLatitude(const double &value)
48 m_imageLatitude = value;
50 void MediacontentImage::setImageLongitude(const double &value)
52 m_imageLongitude = value;
56 int MediacontentImage::getImageWidth() const
62 void MediacontentImage::setImageWidth(const int &value)
68 int MediacontentImage::getImageHeight() const
72 void MediacontentImage::setImageHeight(const int &value)
74 m_imageHeight = value;
78 string MediacontentImage::getImageOrientation() const
80 return m_imageOrientation;
83 void MediacontentImage::setImageOrientation(const string &value)
85 m_imageOrientation = value;
90 void MediacontentImage::display()
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);