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 FSclCalEventChangeInfo.h
18 * @brief This is the header file for the %CalEventChangeInfo class.
20 * This header file contains the declarations of the %CalEventChangeInfo class.
22 #ifndef _FSCL_CAL_EVENT_CHANGE_INFO_H_
23 #define _FSCL_CAL_EVENT_CHANGE_INFO_H_
25 #include <FBaseObject.h>
26 #include <FSclTypes.h>
28 namespace Tizen { namespace Social
32 * @class CalEventChangeInfo
33 * @brief This class represents the calendar event change information.
37 * @final This class is not intended for extension.
39 * The %CalEventChangeInfo class represents the change information of an event that is managed in the calendarbook.
41 class _OSP_EXPORT_ CalEventChangeInfo
42 : public Tizen::Base::Object
46 * This is the default constructor for this class.
50 CalEventChangeInfo(void);
53 * Copying of objects using this copy constructor is allowed.
57 * @param[in] rhs An instance of %CalEventChangeInfo to copy
59 CalEventChangeInfo(const CalEventChangeInfo& rhs);
62 * This destructor overrides Tizen::Base::Object::~Object().
66 virtual ~CalEventChangeInfo(void);
69 * Compares the specified Tizen::Base::Object with the current %CalEventChangeInfo instance.
73 * @return @c true if the specified object equals the current %CalEventChangeInfo instance, @n
75 * @param[in] rhs The object instance to compare with the current object
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 change type.
94 * @return The change type
96 RecordChangeType GetChangeType(void) const;
99 * Gets the changed event ID.
103 * @return The changed event ID
105 RecordId GetEventId(void) const;
108 * Gets the calendar ID to which the changed event belongs.
112 * @return The calendar ID to which the changed event belongs
114 RecordId GetCalendarId(void) const;
117 * Gets the version of the change.
121 * @return The version of the change
123 int GetVersion(void) const;
126 * Copying of objects using this copy assignment operator is allowed.
130 * @param[in] rhs An instance of %CalEventChangeInfo to copy
132 CalEventChangeInfo& operator =(const CalEventChangeInfo& rhs);
135 friend class _CalEventChangeInfoImpl;
136 class _CalEventChangeInfoImpl* __pCalEventChangeInfoImpl;
138 }; // CalEventChangeInfo
142 #endif // _FSCL_CAL_EVENT_CHANGE_INFO_H_