Git Init
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Messaging / SourceAddress.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 /**
19  *
20  *
21  * @file       SourceAddress.h
22  * @author     Pawel Misiak (p.misiak@samsung.com)
23  * @version    0.1
24  * @brief
25  */
26 #ifndef SOURCEADDRESS_H
27 #define SOURCEADDRESS_H
28
29 #include "Recipient.h"
30 #include <string>
31
32 namespace TizenApis {
33 namespace Api {
34 namespace Messaging {
35
36 //--------------------------------------------------------------------------
37
38 class SourceAddress
39 {
40   private: // fields
41
42     std::string m_sourceAddress;
43
44     bool m_validSourceAddress;
45
46   public:
47
48     SourceAddress();
49
50     virtual ~SourceAddress();
51
52     void setSourceAddressValidity(bool state);
53
54     bool getSourceAddressValidity() const;
55
56     std::string getSourceAddress() const;
57
58     void setSourceAddress(const Recipients& value);
59
60     void setSourceAddress(const std::string& value);
61 };
62 }
63 }
64 }
65 #endif