Beta merge 2
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Mediacontent / MediacontentLyrics.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 #include <dpl/log/log.h>
18 #include <Commons/Exception.h>
19 #include "MediacontentLyrics.h"
20
21 namespace TizenApis {
22 namespace Api {
23 namespace Mediacontent {
24
25 MediacontentLyrics::MediacontentLyrics()
26 {
27 }
28
29 MediacontentLyrics::~MediacontentLyrics()
30 {
31 }
32
33
34 string MediacontentLyrics::getMediaLyricsType() const
35 {
36         return m_lyricsType;
37 }
38
39 void MediacontentLyrics::setMediaLyricsType(string value)
40 {
41         m_lyricsType = value;
42 }
43
44 vector<unsigned long> MediacontentLyrics::getMediaLyricsTimeStamps() const
45 {
46         return m_timeStamps;
47 }
48
49 void MediacontentLyrics::addMediaLyricsTimeStamp(unsigned long value)
50 {
51         m_timeStamps.push_back(value);
52 }
53
54 vector<string> MediacontentLyrics::getMediaLyricsTexts() const
55 {
56         return m_texts;
57 }
58
59 void MediacontentLyrics::addMediaLyricsText(string value)
60 {
61         m_texts.push_back(value);
62 }
63
64
65 }
66 }
67 }