// // 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_ContactEventImpl.h * @brief This is the header file for the %_ContactEventImpl class. * * This header file contains the declarations of the %_ContactEventImpl class. */ #ifndef _FSCL_INTERNAL_CONTACT_EVENT_IMPL_H_ #define _FSCL_INTERNAL_CONTACT_EVENT_IMPL_H_ #include #include #include #include #include namespace Tizen { namespace Social { class ContactEvent; class _OSP_EXPORT_ _ContactEventImpl : public Tizen::Base::Object { public: _ContactEventImpl(void); _ContactEventImpl(const _ContactEventImpl& rhs); virtual ~_ContactEventImpl(void); virtual bool Equals(const Tizen::Base::Object& rhs) const; virtual int GetHashCode(void) const; ContactEventType GetType(void) const; Tizen::Base::DateTime GetDate(void) const; Tizen::Base::String GetLabel(void) const; void SetType(ContactEventType type); void SetLabel(const Tizen::Base::String& label); void SetDate(const Tizen::Base::DateTime& date); _ContactEventImpl& operator =(const _ContactEventImpl& rhs); bool operator ==(const _ContactEventImpl& rhs) const; bool operator !=(const _ContactEventImpl& rhs) const; bool IsDateChanged(void) const; static const _ContactEventImpl* GetInstance(const ContactEvent& contactEvent); static _ContactEventImpl* GetInstance(ContactEvent& contactEvent); private: ContactEventType __type; Tizen::Base::DateTime __date; Tizen::Base::String __label; bool __isDateChanged; }; // _ContactEventImpl }} // Tizen::Social #endif // _FSCL_CONTACT_EVENT_H_