[M67 Dev][EWK] Classify EWK APIs by public, internal, or product
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / public / ewk_dispatcher_internal.h
1 // Copyright 2013 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ewk_dispatcher_internal_h
6 #define ewk_dispatcher_internal_h
7
8 #include <tizen.h>
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 typedef void (*ewk_dispatch_callback)(void *);
15
16 /**
17  * Call once from the thread you want the dispatcher work on.
18  * It should be main thread usually.
19  *
20  */
21 EXPORT_API void ewk_dispatcher_touch();
22
23 EXPORT_API void ewk_dispatcher_dispatch(ewk_dispatch_callback cb, void *user_data, unsigned delay);
24
25 #ifdef __cplusplus
26 }
27 #endif
28
29 #endif //ewk_dispatcher_internal_h