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 PppUpcallRpcClient { |
| 23 public: |
| 24 static NaClSrpcError PPB_Core_CallOnMainThread( |
| 25 NaClSrpcChannel* channel, |
| 26 int32_t delay_in_milliseconds, |
| 27 int32_t callback_id, |
| 28 int32_t result); |
| 29 |
| 30 private: |
| 31 PppUpcallRpcClient(); |
| 32 PppUpcallRpcClient(const PppUpcallRpcClient&); |
| 33 void operator=(const PppUpcallRpcClient); |
| 34 }; // class PppUpcallRpcClient |
| 35 |
| 36 |
| 37 |
| 38 |
| 39 #endif // GEN_PPAPI_PROXY_UPCALL_H_ |
| 40 |
OLD | NEW |