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.
5 #ifndef ewk_dispatcher_internal_h
6 #define ewk_dispatcher_internal_h
14 typedef void (*ewk_dispatch_callback)(void *);
17 * Call once from the thread you want the dispatcher work on.
18 * It should be main thread usually.
21 EXPORT_API void ewk_dispatcher_touch();
23 EXPORT_API void ewk_dispatcher_dispatch(ewk_dispatch_callback cb, void *user_data, unsigned delay);
29 #endif //ewk_dispatcher_internal_h