Pepper_56_C_interfaces
Pepper_56_C_interfaces
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppp_class_deprecated.h
Go to the documentation of this file.
1 /* Copyright (c) 2010 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 #ifndef PPAPI_C_PPP_CLASS_DEPRECATED_H_
6 #define PPAPI_C_PPP_CLASS_DEPRECATED_H_
7 
9 #include "ppapi/c/pp_stdint.h"
10 #include "ppapi/c/pp_var.h"
11 
20 struct PP_Var;
21 
44  bool (*HasProperty)(void* object,
45  struct PP_Var name,
46  struct PP_Var* exception);
47 
54  bool (*HasMethod)(void* object,
55  struct PP_Var name,
56  struct PP_Var* exception);
57 
65  struct PP_Var (*GetProperty)(void* object,
66  struct PP_Var name,
67  struct PP_Var* exception);
68 
83  void (*GetAllPropertyNames)(void* object,
84  uint32_t* property_count,
85  struct PP_Var** properties,
86  struct PP_Var* exception);
87 
92  void (*SetProperty)(void* object,
93  struct PP_Var name,
94  struct PP_Var value,
95  struct PP_Var* exception);
96 
101  void (*RemoveProperty)(void* object,
102  struct PP_Var name,
103  struct PP_Var* exception);
104 
105  // TODO(brettw) need native array access here.
106 
111  struct PP_Var (*Call)(void* object,
112  struct PP_Var method_name,
113  uint32_t argc,
114  struct PP_Var* argv,
115  struct PP_Var* exception);
116 
118  struct PP_Var (*Construct)(void* object,
119  uint32_t argc,
120  struct PP_Var* argv,
121  struct PP_Var* exception);
122 
127  void (*Deallocate)(void* object);
128 };
129 
134 #endif /* PPAPI_C_PPP_CLASS_DEPRECATED_H_ */
135 
bool(* HasProperty)(void *object, struct PP_Var name, struct PP_Var *exception)
Definition: ppp_class_deprecated.h:44
void(* GetAllPropertyNames)(void *object, uint32_t *property_count, struct PP_Var **properties, struct PP_Var *exception)
Definition: ppp_class_deprecated.h:83
struct PP_Var(* Construct)(void *object, uint32_t argc, struct PP_Var *argv, struct PP_Var *exception)
Definition: ppp_class_deprecated.h:118
bool(* HasMethod)(void *object, struct PP_Var name, struct PP_Var *exception)
Definition: ppp_class_deprecated.h:54
union PP_VarValue value
Definition: pp_var.h:180
void(* SetProperty)(void *object, struct PP_Var name, struct PP_Var value, struct PP_Var *exception)
Definition: ppp_class_deprecated.h:92
Definition: pp_var.h:166
void(* RemoveProperty)(void *object, struct PP_Var name, struct PP_Var *exception)
Definition: ppp_class_deprecated.h:101
void(* Deallocate)(void *object)
Definition: ppp_class_deprecated.h:127
struct PP_Var(* GetProperty)(void *object, struct PP_Var name, struct PP_Var *exception)
Definition: ppp_class_deprecated.h:65
struct PP_Var(* Call)(void *object, struct PP_Var method_name, uint32_t argc, struct PP_Var *argv, struct PP_Var *exception)
Definition: ppp_class_deprecated.h:111
Definition: ppp_class_deprecated.h:37