update for beta universally
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Call / CallServiceFilter.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 "CallServiceFilter.h"
18
19 namespace TizenApis {
20 namespace Api {
21 namespace Call {
22 CallServiceFilter::CallServiceFilter() :
23                 m_callType(""),
24                 m_serviceName(""),
25                 m_providerId("")
26 {
27         m_tags = StringArrayPtr(new StringArray());
28 }
29
30 void CallServiceFilter::setCallType(const std::string callType)
31 {
32         m_callType = callType;
33 }
34
35 void CallServiceFilter::setTags(const StringArrayPtr tags)
36 {
37         m_tags = tags;
38 }
39
40 void CallServiceFilter::setServiceName(const std::string serviceName)
41 {
42         m_serviceName = serviceName;
43 }
44
45 void CallServiceFilter::setProviderId(const std::string providerId)
46 {
47         m_providerId = providerId;
48 }
49
50 std::string CallServiceFilter::getCallType() const
51 {
52         return m_callType;
53 }
54
55 StringArrayPtr CallServiceFilter::getTags() const
56 {
57         return m_tags;
58 }
59
60 std::string CallServiceFilter::getServiceName() const
61 {
62         return m_serviceName;
63 }
64
65 std::string CallServiceFilter::getProviderId() const
66 {
67         return m_providerId;
68 }
69
70 }
71 }
72 }