Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_message_loop.h
Go to the documentation of this file.
1 /* Copyright (c) 2012 The Chromium Authors. 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 
6 /* From ppb_message_loop.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_PPB_MESSAGE_LOOP_H_
9 #define PPAPI_C_PPB_MESSAGE_LOOP_H_
10 
11 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/c/pp_stdint.h"
17 
18 #define PPB_MESSAGELOOP_INTERFACE_1_0 "PPB_MessageLoop;1.0"
19 #define PPB_MESSAGELOOP_INTERFACE PPB_MESSAGELOOP_INTERFACE_1_0
20 
191  int32_t (*AttachToCurrentThread)(PP_Resource message_loop);
214  int32_t (*Run)(PP_Resource message_loop);
257  int32_t (*PostWork)(PP_Resource message_loop,
258  struct PP_CompletionCallback callback,
259  int64_t delay_ms);
282  int32_t (*PostQuit)(PP_Resource message_loop, PP_Bool should_destroy);
283 };
284 
285 typedef struct PPB_MessageLoop_1_0 PPB_MessageLoop;
290 #endif /* PPAPI_C_PPB_MESSAGE_LOOP_H_ */
291 
int32_t(* PostWork)(PP_Resource message_loop, struct PP_CompletionCallback callback, int64_t delay_ms)
Definition: ppb_message_loop.h:257
PP_Resource(* Create)(PP_Instance instance)
Definition: ppb_message_loop.h:155
int32_t PP_Resource
Definition: pp_resource.h:40
int32_t(* AttachToCurrentThread)(PP_Resource message_loop)
Definition: ppb_message_loop.h:191
int32_t(* Run)(PP_Resource message_loop)
Definition: ppb_message_loop.h:214
PP_Resource(* GetCurrent)(void)
Definition: ppb_message_loop.h:165
int32_t PP_Instance
Definition: pp_instance.h:34
PP_Bool
Definition: pp_bool.h:30
PP_Resource(* GetForMainThread)(void)
Definition: ppb_message_loop.h:160
Definition: ppb_message_loop.h:147
Definition: pp_completion_callback.h:139
int32_t(* PostQuit)(PP_Resource message_loop, PP_Bool should_destroy)
Definition: ppb_message_loop.h:282