OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Native Client 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 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
| 6 // |
| 7 // Automatically generated code. See srpcgen.py |
| 8 // |
| 9 // NaCl Simple Remote Procedure Call interface abstractions. |
| 10 |
| 11 #ifndef GEN_PPAPI_PROXY_UPCALL_H_ |
| 12 #define GEN_PPAPI_PROXY_UPCALL_H_ |
| 13 |
| 14 #ifndef __native_client__ |
| 15 #include "native_client/src/include/portability.h" |
| 16 #endif // __native_client__ |
| 17 #include "native_client/src/shared/srpc/nacl_srpc.h" |
| 18 #include "ppapi/c/pp_instance.h" |
| 19 #include "ppapi/c/pp_module.h" |
| 20 #include "ppapi/c/pp_resource.h" |
| 21 |
| 22 class PppUpcallRpcServer { |
| 23 public: |
| 24 static void PPB_Core_CallOnMainThread( |
| 25 NaClSrpcRpc* rpc, |
| 26 NaClSrpcClosure* done, |
| 27 int32_t delay_in_milliseconds, |
| 28 int32_t callback_id, |
| 29 int32_t result); |
| 30 |
| 31 private: |
| 32 PppUpcallRpcServer(); |
| 33 PppUpcallRpcServer(const PppUpcallRpcServer&); |
| 34 void operator=(const PppUpcallRpcServer); |
| 35 }; // class PppUpcallRpcServer |
| 36 |
| 37 class PpbUpcalls { |
| 38 public: |
| 39 static NaClSrpcHandlerDesc srpc_methods[]; |
| 40 }; // class PpbUpcalls |
| 41 |
| 42 |
| 43 #endif // GEN_PPAPI_PROXY_UPCALL_H_ |
| 44 |
OLD | NEW |