2 // Copyright (c) 2012 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.
17 * @file FScl_ImAddressImpl.h
18 * @brief This is the header file for the %_ImAddressImpl class.
20 * This header file contains the declarations of the %_ImAddressImpl class.
22 #ifndef _FSCL_INTERNAL_IM_ADDRESS_IMPL_H_
23 #define _FSCL_INTERNAL_IM_ADDRESS_IMPL_H_
25 #include <FBaseResult.h>
26 #include <FBaseObject.h>
27 #include <FBaseString.h>
29 namespace Tizen { namespace Social
34 class _OSP_EXPORT_ _ImAddressImpl
35 : public Tizen::Base::Object
40 _ImAddressImpl(const Tizen::Base::String& serviceProviderName, const Tizen::Base::String& imAddress);
42 _ImAddressImpl(const _ImAddressImpl& rhs);
44 virtual ~_ImAddressImpl(void);
46 virtual bool Equals(const Tizen::Base::Object& rhs) const;
48 virtual int GetHashCode(void) const;
50 Tizen::Base::String GetServiceProviderName(void) const;
52 Tizen::Base::String GetImAddress(void) const;
54 void SetServiceProviderName(const Tizen::Base::String& serviceProviderName);
56 result SetImAddress(const Tizen::Base::String& imAddress);
58 _ImAddressImpl& operator =(const _ImAddressImpl& rhs);
60 bool operator ==(const _ImAddressImpl& rhs) const;
62 bool operator !=(const _ImAddressImpl& rhs) const;
64 static const _ImAddressImpl* GetInstance(const ImAddress& imAddress);
66 static _ImAddressImpl* GetInstance(ImAddress& imAddress);
69 Tizen::Base::String __serviceProviderName;
70 Tizen::Base::String __imAddress;
75 #endif // _FSCL_INTERNAL_IM_ADDRESS_IMPL_H_