Tizen 2.1 base
[apps/osp/Home.git] / inc / HmICustomPageMarkerEventListener.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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 /**
18  * @file        HmICustomPageMarkerEventListener.h
19  * @brief       Listener interface for CustomPageMarker control events
20  */
21
22 #ifndef _HM_ICUSTOM_PAGE_MARKER_EVENT_LISTENER_H_
23 #define _HM_ICUSTOM_PAGE_MARKER_EVENT_LISTENER_H_
24
25 /**
26  * @class       ICustomPageMarkerEventListener
27  * @brief       Event listener for the marker bubbles
28  */
29 class ICustomPageMarkerEventListener
30 {
31 public:
32         /**
33          * This polymorphic destructor should be overridden if required.
34          * This way, the destructor of the derived classes are called when the
35          * destructor of this interface is called
36          */
37         virtual ~ICustomPageMarkerEventListener(void) {}
38
39         /**
40          * Notifies about the currently selected bubble.
41          *
42          * @param[in]   bubbleNo, the bubble number which got selected.
43          */
44         virtual void OnMarkerBubbleMoved(int bubbleNo) = 0;
45 };
46
47 #endif // _HM_ICUSTOM_PAGE_MARKER_EVENT_LISTENER_H_