Fix for CompatTC Fail
[framework/osp/social.git] / src / FScl_IAccountDbChangeEventListener.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
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
7 //
8 //     http://www.apache.org/licenses/LICENSE-2.0
9 //
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.
15 //
16 /**
17  * @file        FScl_IAccountDbChangeEventListener.h
18  * @brief       This is the header file for the _IAccountDbChangeEventListener class.
19  *
20  * This file contains the declarations of _IAccountDbChangeEventListener.
21  */
22
23 #ifndef _FSCL_INTERNAL_IACCOUNT_DB_CHANGE_EVENT_LISTENER_H_
24 #define _FSCL_INTERNAL_IACCOUNT_DB_CHANGE_EVENT_LISTENER_H_
25
26 #include <FBaseRtIEventListener.h>
27 #include <FSclTypes.h>
28
29 namespace Tizen { namespace Social
30 {
31
32 class _IAccountDbChangeEventListener
33         : virtual public Tizen::Base::Runtime::IEventListener
34 {
35 public:
36         /**
37          * This polymorphic destructor should be overridden if required. This way, the destructors of the derived classes @n
38          * are called when the destructor of this interface is called.
39          *
40          * @since       2.1
41          */
42         virtual ~_IAccountDbChangeEventListener(void) {}
43
44         virtual void OnAccountAdded(AccountId accountId) = 0;
45
46         virtual void OnAccountUpdated(AccountId accountId) = 0;
47
48         virtual void OnAccountRemoved(AccountId accountId) = 0;
49
50 }; // _IAccountDbChangeEventListener
51
52 }} // Tizen::Social
53
54 #endif // _FSCL_INTERNAL_IACCOUNT_DB_CHANGE_EVENT_LISTENER_H_