2 // Copyright (c) 2013 Samsung Electronics Co., Ltd.
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
8 // http://www.apache.org/licenses/LICENSE-2.0
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.
18 * @file FScl_ContactAppLaunchDataImpl.h
19 * @brief This is the header file for the %_ContactAppLaunchData class.
21 * This header file contains the declarations of the %_ContactAppLaunchData class.
23 #ifndef _FSCL_INTERNAL_CONTACT_APP_LAUNCH_DATA_IMPL_H_
24 #define _FSCL_INTERNAL_CONTACT_APP_LAUNCH_DATA_IMPL_H_
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>
33 namespace Tizen { namespace Social
35 class _OSP_EXPORT_ _ContactAppLaunchDataImpl
36 :public Tizen::Base::Object
39 _ContactAppLaunchDataImpl(void);
41 _ContactAppLaunchDataImpl(const _ContactAppLaunchDataImpl& rhs);
43 virtual ~_ContactAppLaunchDataImpl(void);
45 _ContactAppLaunchDataImpl& operator =(const _ContactAppLaunchDataImpl& rhs);
47 virtual bool Equals(const Tizen::Base::Object& rhs) const;
49 virtual int GetHashCode(void) const;
51 Tizen::Base::String GetDisplayText(void) const;
53 Tizen::Base::String GetUid(void) const;
55 Tizen::Base::String GetAppId(void) const;
57 Tizen::Base::String GetOperationId(void) const;
59 Tizen::Base::String GetUri(void) const;
61 Tizen::Base::String GetCategory(void) const;
63 Tizen::Base::String GetMime(void) const;
65 Tizen::Base::Collection::IMap* GetExtraDataN(void) const;
67 void SetDisplayText(const Tizen::Base::String& displayText);
69 void SetUid(const Tizen::Base::String& uid);
71 void SetAppId(const Tizen::Base::String& appId);
73 void SetOperationId(const Tizen::Base::String& operationId);
75 void SetUri(const Tizen::Base::String& uri);
77 void SetCategory(const Tizen::Base::String& category);
79 void SetMime(const Tizen::Base::String& mime);
81 result SetExtraData(const Tizen::Base::Collection::IMap* pExtraData);
83 bool IsEmpty(void) const;
85 static const _ContactAppLaunchDataImpl* GetInstance(const ContactAppLaunchData& appLaunchData);
87 static _ContactAppLaunchDataImpl* GetInstance(ContactAppLaunchData& appLaunchData);
89 friend bool operator ==(const _ContactAppLaunchDataImpl& lhs, const _ContactAppLaunchDataImpl& rhs);
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
102 bool operator ==(const _ContactAppLaunchDataImpl& lhs, const _ContactAppLaunchDataImpl& rhs);
104 bool operator !=(const _ContactAppLaunchDataImpl& lhs, const _ContactAppLaunchDataImpl& rhs);
109 #endif // _FSCL_INTERNAL_CONTACT_APP_LAUNCH_DATA_IMPL_H_