9927af40a73c96a98c26cde5777a8e49d9a6d90e
[platform/core/uifw/libscl-ui-nui.git] / capi / include / cscl-ui-event-callback.h
1 /*
2  * Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved
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 #ifndef __SCL_EVENT_CALLBACK_H__
18 #define __SCL_EVENT_CALLBACK_H__
19
20 #include <sclui.h>
21
22 class CUIEventCallback : public ISCLUIEventCallback
23 {
24 public :
25     /*
26     Ecore_Timer* word_timer = NULL;
27     static Eina_Bool _multi_tap_timer_cb(void *data)
28     {
29         LOGD("Time Out");
30         ise_send_event(MVK_Done, KEY_MASK_NULL);
31         return ECORE_CALLBACK_CANCEL;
32     }
33     */
34     SCLEventReturnType on_event_key_clicked(SclUIEventDesc event_desc);
35     SCLEventReturnType on_event_drag_state_changed(SclUIEventDesc event_desc);
36     SCLEventReturnType on_event_notification(SCLUINotiType noti_type, SclNotiDesc *etc_info);
37 };
38
39 #endif /* __SCL_EVENT_CALLBACK_H__ */