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 FSclCategoryChangeInfo.h
18 * @brief This is the header file for the %CategoryChangeInfo class.
20 * This header file contains the declarations of the %CategoryChangeInfo class.
22 #ifndef _FSCL_CATEGORY_CHANGE_INFO_H_
23 #define _FSCL_CATEGORY_CHANGE_INFO_H_
25 #include <FBaseObject.h>
26 #include <FSclTypes.h>
27 #include <FSclRecord.h>
29 namespace Tizen { namespace Social
33 * @class CategoryChangeInfo
34 * @brief This class provides the category change information.
38 * @final This class is not intended for extension.
40 * The %CategoryChangeInfo class provides the category change information.
43 class _OSP_EXPORT_ CategoryChangeInfo
44 : public Tizen::Base::Object
48 * This is the default constructor for this class.
52 CategoryChangeInfo(void);
55 * Copying of objects using this copy constructor is allowed.
59 * @param[in] rhs An instance of %CategoryChangeInfo to copy
61 CategoryChangeInfo(const CategoryChangeInfo& rhs);
64 * This destructor overrides Tizen::Base::Object::~Object().
68 virtual ~CategoryChangeInfo(void);
71 * Checks whether the value of the specified instance is equal to the value of the current instance of Tizen::Base::Object.
75 * @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
77 * @param[in] rhs An instance of Tizen::Base::Object to compare
79 virtual bool Equals(const Tizen::Base::Object& rhs) const;
82 * Gets the hash value of the current instance.
86 * @return The hash value of the current instance
88 virtual int GetHashCode(void) const;
91 * Gets the addressbook ID of the changed category.
95 * @return The addressbook ID
97 AddressbookId GetAddressbookId(void) const;
100 * Gets the ID of the changed category.
104 * @return The category ID
106 RecordId GetCategoryId(void) const;
113 * @return The version of the category
115 int GetVersion(void) const;
118 * Gets the change type.
122 * @return The change type
124 RecordChangeType GetChangeType(void) const;
127 * Copying of objects using this copy assignment operator is allowed.
131 * @param[in] rhs An instance of %CategoryChangeInfo to copy
133 CategoryChangeInfo& operator =(const CategoryChangeInfo& rhs);
136 friend class _CategoryChangeInfoImpl;
137 class _CategoryChangeInfoImpl* __pCategoryChangeInfoImpl;
139 }; // CategoryChangeInfo
143 #endif // _FSCL_CATEGORY_CHANGE_INFO_H_