remove return on void function
[framework/osp/social.git] / src / FScl_ContactAppLaunchDataImpl.h
1 //
2 // Copyright (c) 2013 Samsung Electronics Co., Ltd.
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  * @file                FScl_ContactAppLaunchDataImpl.h
19  * @brief               This is the header file for the %_ContactAppLaunchData class.
20  *
21  * This header file contains the declarations of the %_ContactAppLaunchData class.
22  */
23 #ifndef _FSCL_INTERNAL_CONTACT_APP_LAUNCH_DATA_IMPL_H_
24 #define _FSCL_INTERNAL_CONTACT_APP_LAUNCH_DATA_IMPL_H_
25
26 #include <unique_ptr.h>
27 #include <FBaseColAllElementsDeleter.h>
28 #include <FBaseColHashMap.h>
29 #include <FBaseObject.h>
30 #include <FBaseString.h>
31 #include <FSclContactAppLaunchData.h>
32
33 namespace Tizen { namespace Social
34 {
35 class _OSP_EXPORT_ _ContactAppLaunchDataImpl
36         :public Tizen::Base::Object
37 {
38 public:
39         _ContactAppLaunchDataImpl(void);
40
41         _ContactAppLaunchDataImpl(const _ContactAppLaunchDataImpl& rhs);
42
43         virtual ~_ContactAppLaunchDataImpl(void);
44
45         _ContactAppLaunchDataImpl& operator =(const _ContactAppLaunchDataImpl& rhs);
46
47         virtual bool Equals(const Tizen::Base::Object& rhs) const;
48
49         virtual int GetHashCode(void) const;
50
51         Tizen::Base::String GetDisplayText(void) const;
52
53         Tizen::Base::String GetUid(void) const;
54
55         Tizen::Base::String GetAppId(void) const;
56
57         Tizen::Base::String GetOperationId(void) const;
58
59         Tizen::Base::String GetUri(void) const;
60
61         Tizen::Base::String GetCategory(void) const;
62
63         Tizen::Base::String GetMime(void) const;
64
65         Tizen::Base::Collection::IMap* GetExtraDataN(void) const;
66
67         void SetDisplayText(const Tizen::Base::String& displayText);
68
69         void SetUid(const Tizen::Base::String& uid);
70
71         void SetAppId(const Tizen::Base::String& appId);
72
73         void SetOperationId(const Tizen::Base::String& operationId);
74
75         void SetUri(const Tizen::Base::String& uri);
76
77         void SetCategory(const Tizen::Base::String& category);
78
79         void SetMime(const Tizen::Base::String& mime);
80
81         result SetExtraData(const Tizen::Base::Collection::IMap* pExtraData);
82
83         bool IsEmpty(void) const;
84
85         static const _ContactAppLaunchDataImpl* GetInstance(const ContactAppLaunchData& appLaunchData);
86
87         static _ContactAppLaunchDataImpl* GetInstance(ContactAppLaunchData& appLaunchData);
88
89         friend bool operator ==(const _ContactAppLaunchDataImpl& lhs, const _ContactAppLaunchDataImpl& rhs);
90
91 private:
92         Tizen::Base::String __displayText;
93         Tizen::Base::String __uid;
94         Tizen::Base::String __appId;
95         Tizen::Base::String __operationId;
96         Tizen::Base::String __uri;
97         Tizen::Base::String __category;
98         Tizen::Base::String __mime;
99         std::unique_ptr<Tizen::Base::Collection::HashMap, Tizen::Base::Collection::AllElementsDeleter> __pExtraData;
100 }; // _ContactAppLaunchDataImpl
101
102 bool operator ==(const _ContactAppLaunchDataImpl& lhs, const _ContactAppLaunchDataImpl& rhs);
103
104 bool operator !=(const _ContactAppLaunchDataImpl& lhs, const _ContactAppLaunchDataImpl& rhs);
105
106
107 }} // Tizen::Social
108
109 #endif // _FSCL_INTERNAL_CONTACT_APP_LAUNCH_DATA_IMPL_H_