2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
18 * @file FSclCategoryChangeInfo.h
19 * @brief This is the header file for the %CategoryChangeInfo class.
21 * This header file contains the declarations of the %CategoryChangeInfo class.
23 #ifndef _FSCL_CATEGORY_CHANGE_INFO_H_
24 #define _FSCL_CATEGORY_CHANGE_INFO_H_
26 #include <FBaseObject.h>
27 #include <FSclTypes.h>
28 #include <FSclRecord.h>
30 namespace Tizen { namespace Social
34 * @class CategoryChangeInfo
35 * @brief This class provides a category change information.
39 * @final This class is not intended for extension.
41 * The %CategoryChangeInfo class provides a category change information.
44 class _OSP_EXPORT_ CategoryChangeInfo
45 : public Tizen::Base::Object
49 * This is the default constructor for this class.
53 CategoryChangeInfo(void);
56 * Copying of objects using this copy constructor is allowed.
60 * @param[in] rhs An instance of %CategoryChangeInfo
62 CategoryChangeInfo(const CategoryChangeInfo& rhs);
65 * This destructor overrides Tizen::Base::Object::~Object().
69 virtual ~CategoryChangeInfo(void);
72 * Checks whether the value of the specified instance is equal to the value of the current instance of Tizen::Base::Object.
76 * @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
78 * @param[in] rhs An instance of Tizen::Base::Object to compare
80 virtual bool Equals(const Tizen::Base::Object& rhs) const;
83 * Gets the hash value of the current instance.
87 * @return The hash value of the current instance
89 virtual int GetHashCode(void) const;
92 * Gets the addressbook ID of the changed category.
96 * @return The addressbook ID
98 AddressbookId GetAddressbookId(void) const;
101 * Gets the ID of the changed category.
105 * @return The category ID
107 RecordId GetCategoryId(void) const;
114 * @return The version of the category
116 int GetVersion(void) const;
119 * Gets the change type.
123 * @return The change type
125 RecordChangeType GetChangeType(void) const;
128 * Copying of objects using this copy assignment operator is allowed.
132 * @param[in] rhs An instance of %CategoryChangeInfo
134 CategoryChangeInfo& operator =(const CategoryChangeInfo& rhs);
137 friend class _CategoryChangeInfoImpl;
138 class _CategoryChangeInfoImpl* __pCategoryChangeInfoImpl;
140 }; // CategoryChangeInfo
144 #endif // _FSCL_CATEGORY_CHANGE_INFO_H_