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 FSclContactChangeInfo.h
18 * @brief This is the header file for the %ContactChangeInfo class.
20 * This header file contains the declarations of the %ContactChangeInfo class.
22 #ifndef _FSCL_CONTACT_CHANGE_INFO_H_
23 #define _FSCL_CONTACT_CHANGE_INFO_H_
25 #include <FBaseObject.h>
26 #include <FSclTypes.h>
28 namespace Tizen { namespace Social
32 * @class ContactChangeInfo
33 * @brief This class provides the contact change information.
37 * @final This class is not intended for extension.
39 * The %ContactChangeInfo class provides the contact change information.
42 class _OSP_EXPORT_ ContactChangeInfo
43 : public Tizen::Base::Object
47 * This is the default constructor for this class.
51 ContactChangeInfo(void);
54 * Copying of objects using this copy constructor is allowed.
58 * @param[in] rhs An instance of %ContactChangeInfo to copy
60 ContactChangeInfo(const ContactChangeInfo& rhs);
63 * This destructor overrides Tizen::Base::Object::~Object().
67 virtual ~ContactChangeInfo(void);
70 * Checks whether the value of the specified instance is equal to the value of the current instance of Tizen::Base::Object.
74 * @return @c true if the value of the specified instance of Tizen::Base::Object is equal to the value of the current instance of %Tizen::Base::Object, @n
76 * @param[in] rhs An instance of Tizen::Base::Object to compare
78 virtual bool Equals(const Tizen::Base::Object& rhs) const;
81 * Gets the hash value of the current instance.
85 * @return The hash value of the current instance
87 virtual int GetHashCode(void) const;
90 * Gets the addressbook ID of the changed contact.
94 * @return The addressbook ID
96 AddressbookId GetAddressbookId(void) const;
99 * Gets the ID of the changed contact.
103 * @return The contact ID
105 RecordId GetContactId(void) const;
112 * @return The version of the contact
114 int GetVersion(void) const;
117 * Gets the change type.
121 * @return The change type
123 RecordChangeType GetChangeType(void) const;
126 * Checks whether the thumbnail has been changed.
130 * @return @c true if the thumbnail has been changed, @n
133 bool IsThumbnailChanged(void) const;
136 * Copying of objects using this copy assignment operator is allowed.
140 * @param[in] rhs An instance of %ContactChangeInfo to copy
142 ContactChangeInfo& operator =(const ContactChangeInfo& rhs);
145 friend class _ContactChangeInfoImpl;
146 class _ContactChangeInfoImpl* __pContactChangeInfoImpl;
148 }; // ContactChangeInfo
152 #endif // _FSCL_CONTACT_CHANGE_INFO_H_