// // Copyright (c) 2012 Samsung Electronics Co., Ltd. // // Licensed under the Apache License, Version 2.0 (the License); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // /** * @file FScl_ImAddressImpl.h * @brief This is the header file for the %_ImAddressImpl class. * * This header file contains the declarations of the %_ImAddressImpl class. */ #ifndef _FSCL_INTERNAL_IM_ADDRESS_IMPL_H_ #define _FSCL_INTERNAL_IM_ADDRESS_IMPL_H_ #include #include #include namespace Tizen { namespace Social { extern const wchar_t IM_ADDRESS_IRC[]; extern const wchar_t IM_ADDRESS_FACEBOOK[]; class ImAddress; class _OSP_EXPORT_ _ImAddressImpl : public Tizen::Base::Object { public: _ImAddressImpl(void); _ImAddressImpl(const Tizen::Base::String& serviceProviderName, const Tizen::Base::String& imAddress); _ImAddressImpl(const _ImAddressImpl& rhs); virtual ~_ImAddressImpl(void); virtual bool Equals(const Tizen::Base::Object& rhs) const; virtual int GetHashCode(void) const; Tizen::Base::String GetServiceProviderName(void) const; Tizen::Base::String GetImAddress(void) const; void SetServiceProviderName(const Tizen::Base::String& serviceProviderName); result SetImAddress(const Tizen::Base::String& imAddress); _ImAddressImpl& operator =(const _ImAddressImpl& rhs); bool operator ==(const _ImAddressImpl& rhs) const; bool operator !=(const _ImAddressImpl& rhs) const; static const _ImAddressImpl* GetInstance(const ImAddress& imAddress); static _ImAddressImpl* GetInstance(ImAddress& imAddress); private: Tizen::Base::String __serviceProviderName; Tizen::Base::String __imAddress; }; // _ImAddressImpl }} // Tizen::Social #endif // _FSCL_INTERNAL_IM_ADDRESS_IMPL_H_