Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
teec_context_samsung.h
1 // Copyright (c) 2017 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 PPAPI_CPP_SAMSUNG_TEEC_CONTEXT_SAMSUNG_H_
6 #define PPAPI_CPP_SAMSUNG_TEEC_CONTEXT_SAMSUNG_H_
7 
8 #include <string>
9 
10 #include "ppapi/c/samsung/ppb_teec_context_samsung.h"
12 #include "ppapi/cpp/pass_ref.h"
13 #include "ppapi/cpp/resource.h"
14 
15 namespace pp {
16 
17 class InstanceHandle;
18 
19 class TEECContext_Samsung : public Resource {
20  public:
22 
24  explicit TEECContext_Samsung(const InstanceHandle& instance);
25 
26  explicit TEECContext_Samsung(PP_Resource resource);
27 
28  TEECContext_Samsung(PassRef, PP_Resource resource);
29 
31 
32  TEECContext_Samsung& operator=(const TEECContext_Samsung& other);
33 
34  virtual ~TEECContext_Samsung();
35 
52  int32_t Open(const std::string& context_name,
54 };
55 
56 } // namespace pp
57 
58 #endif // PPAPI_CPP_SAMSUNG_TEEC_CONTEXT_SAMSUNG_H_
Definition: completion_callback.h:189
int32_t Open(const std::string &context_name, const CompletionCallbackWithOutput< PP_TEEC_Result > &callback)
Definition: instance_handle.h:44
PassRef
Definition: pass_ref.h:17
Definition: teec_context_samsung.h:19
A reference counted module resource.
Definition: resource.h:20