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 FScl_ContactDbChangeEventArg.h
18 * @brief This is the header file for the _ContactDbChangeEventArg class.
20 * This file contains the declarations of _ContactDbChangeEventArg.
23 #ifndef _FSCL_INTERNAL_CONTACT_DB_CHANGE_EVENT_ARG_H_
24 #define _FSCL_INTERNAL_CONTACT_DB_CHANGE_EVENT_ARG_H_
26 #include <FBaseObject.h>
27 #include <FSclRecord.h>
28 #include <FBaseRtIEventArg.h>
30 namespace Tizen { namespace Social
33 enum _ContactDbChangeType
35 _CONTACT_DB_CHANGE_TYPE_CONTACT,
36 _CONTACT_DB_CHANGE_TYPE_GROUP,
37 _CONTACT_DB_CHANGE_TYPE_RELATION,
38 _CONTACT_DB_CHANGE_TYPE_ADDRESSBOOK
41 class _ContactDbChangeEventArg
42 : public Tizen::Base::Object
43 , public Tizen::Base::Runtime::IEventArg
47 * Initializes this instance of %_ContactDbChangeEventArg with the specified value.
51 * @param[in] value A _ContactDbChangeType type
53 _ContactDbChangeEventArg(_ContactDbChangeType changeType);
56 * This destructor overrides Tizen::Base::Object::~Object().
60 virtual ~_ContactDbChangeEventArg(void);
62 _ContactDbChangeType GetChangeType(void) const;
66 * The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
70 _ContactDbChangeEventArg(const _ContactDbChangeEventArg& rhs);
73 * The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
77 _ContactDbChangeEventArg& operator =(const _ContactDbChangeEventArg& rhs);
80 _ContactDbChangeType __changeType;
85 #endif // _FSCL_INTERNAL_CONTACT_DB_CHANGE_EVENT_ARG_H_