merge wrt-plugins-tizen_0.2.0-3
[platform/framework/web/wrt-plugins-tizen.git] / src / platform / API / Call / CallServiceFilter.h
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 #ifndef TIZENAPIS_API_CALLSERVICE_FILTER_H_
19 #define TIZENAPIS_API_CALLSERVICE_FILTER_H_
20
21 #include <dpl/shared_ptr.h>
22 #include <string>
23 #include <vector>
24
25 namespace TizenApis {
26 namespace Api {
27 namespace Call {
28 class CallServiceFilter;
29 typedef DPL::SharedPtr<CallServiceFilter> CallServiceFilterPtr;
30 typedef std::vector<std::string> StringArray;
31 typedef DPL::SharedPtr<StringArray> StringArrayPtr;
32
33 class CallServiceFilter
34 {
35 private:
36         std::string m_callType;
37         StringArrayPtr m_tags;
38         std::string m_serviceName;
39         std::string m_providerId;
40
41 public:
42         void setCallType(const std::string callType);
43         void setTags(const StringArrayPtr tags);
44         void setServiceName(const std::string serviceName);
45         void setProviderId(const std::string providerId);
46
47         std::string getCallType() const;
48         StringArrayPtr getTags() const;
49         std::string getServiceName() const;
50         std::string getProviderId() const;
51         
52         CallServiceFilter();
53 };
54 }
55 }
56 }
57
58 #endif