Pepper_31_C++_interfaces
sef_client_samsung.h
Go to the documentation of this file.
1 /** <!-- -*- c++ -*- ****************************************************** -->
2  *
3  * System Guggenheim
4  *
5  * Module PPAPI
6  *
7  * @file sef_client_samsung.h
8  * @author Pawel Panek <p.panek@samsung.com>
9  * @date 04-11-2013
10  *
11  ******************************************************************************
12  *
13  * Copyright (c) 2013 Samsung Electronics, Visual Display Division.
14  * All Rights Reserved.
15  *
16  * This software is the confidential and proprietary information
17  * of Samsung Electronics, Inc. ("Confidential Information"). You
18  * shall not disclose such Confidential Information and shall use
19  * it only in accordance with the terms of the license agreement
20  * you entered into with Samsung.
21  *
22  *****************************************************************************/
23 
24 #ifndef PPAPI_CPP_SAMSUNG_SEF_CLIENT_SAMSUNG_H_
25 #define PPAPI_CPP_SAMSUNG_SEF_CLIENT_SAMSUNG_H_
26 
27 #include "ppapi/c/samsung/ppb_sef_client_samsung.h"
28 #include "ppapi/cpp/completion_callback.h"
29 #include "ppapi/cpp/resource.h"
30 
31 namespace pp {
32 
33 class InstanceHandle;
34 
35 class SefClientSamsung : public Resource {
36 public:
37  explicit SefClientSamsung(const InstanceHandle& instance,
38  PPB_SefClient_Samsung_Callback callback,
39  void* user_data);
40 
41  static bool IsAvailable();
42 
43  int32_t Open(const char* name,
44  const char* version,
45  const char* credential,
46  const CompletionCallback& cc);
47 
48  int32_t Execute(const std::vector<Var>& params,
50 };
51 
52 } // namespace pp
53 
54 #endif // PPAPI_CPP_SAMSUNG_SEF_CLIENT_SAMSUNG_H_
static bool IsAvailable()
SefClientSamsung(const InstanceHandle &instance, PPB_SefClient_Samsung_Callback callback, void *user_data)
int32_t Execute(const std::vector< Var > &params, const CompletionCallbackWithOutput< Var > &cc)
int32_t Open(const char *name, const char *version, const char *credential, const CompletionCallback &cc)
A reference counted module resource.
Definition: resource.h:18