mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update include/ comments to Doxygen formatting (see issue #3384)
See related guidelines in the issue.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
// by hand. See the translator.README.txt file in the tools directory for
|
||||
// more information.
|
||||
//
|
||||
// $hash=33a684b03178472bdf93e70043304cce8bc32d05$
|
||||
// $hash=58c8adb936b8dba8b13a586adfe9e32e7a02d24c$
|
||||
//
|
||||
|
||||
#ifndef CEF_INCLUDE_CAPI_TEST_CEF_TRANSLATOR_TEST_CAPI_H_
|
||||
@@ -61,214 +61,206 @@ struct _cef_translator_test_scoped_library_child_t;
|
||||
struct _cef_translator_test_scoped_library_t;
|
||||
|
||||
///
|
||||
// Structure for testing all of the possible data transfer types.
|
||||
/// Structure for testing all of the possible data transfer types.
|
||||
///
|
||||
typedef struct _cef_translator_test_t {
|
||||
///
|
||||
// Base structure.
|
||||
/// Base structure.
|
||||
///
|
||||
cef_base_ref_counted_t base;
|
||||
|
||||
// PRIMITIVE VALUES
|
||||
|
||||
///
|
||||
// Return a void value.
|
||||
/// Return a void value.
|
||||
///
|
||||
void(CEF_CALLBACK* get_void)(struct _cef_translator_test_t* self);
|
||||
|
||||
///
|
||||
// Return a bool value.
|
||||
/// Return a bool value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_bool)(struct _cef_translator_test_t* self);
|
||||
|
||||
///
|
||||
// Return an int value.
|
||||
/// Return an int value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_int)(struct _cef_translator_test_t* self);
|
||||
|
||||
///
|
||||
// Return a double value.
|
||||
/// Return a double value.
|
||||
///
|
||||
double(CEF_CALLBACK* get_double)(struct _cef_translator_test_t* self);
|
||||
|
||||
///
|
||||
// Return a long value.
|
||||
/// Return a long value.
|
||||
///
|
||||
long(CEF_CALLBACK* get_long)(struct _cef_translator_test_t* self);
|
||||
|
||||
///
|
||||
// Return a size_t value.
|
||||
/// Return a size_t value.
|
||||
///
|
||||
size_t(CEF_CALLBACK* get_sizet)(struct _cef_translator_test_t* self);
|
||||
|
||||
///
|
||||
// Set a void value.
|
||||
/// Set a void value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_void)(struct _cef_translator_test_t* self);
|
||||
|
||||
///
|
||||
// Set a bool value.
|
||||
/// Set a bool value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_bool)(struct _cef_translator_test_t* self, int val);
|
||||
|
||||
///
|
||||
// Set an int value.
|
||||
/// Set an int value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_int)(struct _cef_translator_test_t* self, int val);
|
||||
|
||||
///
|
||||
// Set a double value.
|
||||
/// Set a double value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_double)(struct _cef_translator_test_t* self,
|
||||
double val);
|
||||
|
||||
///
|
||||
// Set a long value.
|
||||
/// Set a long value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_long)(struct _cef_translator_test_t* self, long val);
|
||||
|
||||
///
|
||||
// Set a size_t value.
|
||||
/// Set a size_t value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_sizet)(struct _cef_translator_test_t* self, size_t val);
|
||||
|
||||
///
|
||||
// Set a int list value.
|
||||
/// Set a int list value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_int_list)(struct _cef_translator_test_t* self,
|
||||
size_t valCount,
|
||||
int const* val);
|
||||
|
||||
///
|
||||
// Return an int list value by out-param.
|
||||
/// Return an int list value by out-param.
|
||||
///
|
||||
int(CEF_CALLBACK* get_int_list_by_ref)(struct _cef_translator_test_t* self,
|
||||
size_t* valCount,
|
||||
int* val);
|
||||
|
||||
///
|
||||
// Return the number of points that will be output above.
|
||||
/// Return the number of points that will be output above.
|
||||
///
|
||||
size_t(CEF_CALLBACK* get_int_list_size)(struct _cef_translator_test_t* self);
|
||||
|
||||
// STRING VALUES
|
||||
|
||||
///
|
||||
// Return a string value.
|
||||
/// Return a string value.
|
||||
///
|
||||
// The resulting string must be freed by calling cef_string_userfree_free().
|
||||
cef_string_userfree_t(CEF_CALLBACK* get_string)(
|
||||
struct _cef_translator_test_t* self);
|
||||
|
||||
///
|
||||
// Set a string value.
|
||||
/// Set a string value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_string)(struct _cef_translator_test_t* self,
|
||||
const cef_string_t* val);
|
||||
|
||||
///
|
||||
// Return a string value by out-param.
|
||||
/// Return a string value by out-param.
|
||||
///
|
||||
void(CEF_CALLBACK* get_string_by_ref)(struct _cef_translator_test_t* self,
|
||||
cef_string_t* val);
|
||||
|
||||
///
|
||||
// Set a string list value.
|
||||
/// Set a string list value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_string_list)(struct _cef_translator_test_t* self,
|
||||
cef_string_list_t val);
|
||||
|
||||
///
|
||||
// Return a string list value by out-param.
|
||||
/// Return a string list value by out-param.
|
||||
///
|
||||
int(CEF_CALLBACK* get_string_list_by_ref)(struct _cef_translator_test_t* self,
|
||||
cef_string_list_t val);
|
||||
|
||||
///
|
||||
// Set a string map value.
|
||||
/// Set a string map value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_string_map)(struct _cef_translator_test_t* self,
|
||||
cef_string_map_t val);
|
||||
|
||||
///
|
||||
// Return a string map value by out-param.
|
||||
/// Return a string map value by out-param.
|
||||
///
|
||||
int(CEF_CALLBACK* get_string_map_by_ref)(struct _cef_translator_test_t* self,
|
||||
cef_string_map_t val);
|
||||
|
||||
///
|
||||
// Set a string multimap value.
|
||||
/// Set a string multimap value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_string_multimap)(struct _cef_translator_test_t* self,
|
||||
cef_string_multimap_t val);
|
||||
|
||||
///
|
||||
// Return a string multimap value by out-param.
|
||||
/// Return a string multimap value by out-param.
|
||||
///
|
||||
int(CEF_CALLBACK* get_string_multimap_by_ref)(
|
||||
struct _cef_translator_test_t* self,
|
||||
cef_string_multimap_t val);
|
||||
|
||||
// STRUCT VALUES
|
||||
|
||||
///
|
||||
// Return a point value.
|
||||
/// Return a point value.
|
||||
///
|
||||
cef_point_t(CEF_CALLBACK* get_point)(struct _cef_translator_test_t* self);
|
||||
|
||||
///
|
||||
// Set a point value.
|
||||
/// Set a point value.
|
||||
///
|
||||
int(CEF_CALLBACK* set_point)(struct _cef_translator_test_t* self,
|
||||
const cef_point_t* val);
|
||||
|
||||
///
|
||||
// Return a point value by out-param.
|
||||
/// Return a point value by out-param.
|
||||
///
|
||||
void(CEF_CALLBACK* get_point_by_ref)(struct _cef_translator_test_t* self,
|
||||
cef_point_t* val);
|
||||
|
||||
///
|
||||
// Set a point list vlaue.
|
||||
/// Set a point list vlaue.
|
||||
///
|
||||
int(CEF_CALLBACK* set_point_list)(struct _cef_translator_test_t* self,
|
||||
size_t valCount,
|
||||
cef_point_t const* val);
|
||||
|
||||
///
|
||||
// Return a point list value by out-param.
|
||||
/// Return a point list value by out-param.
|
||||
///
|
||||
int(CEF_CALLBACK* get_point_list_by_ref)(struct _cef_translator_test_t* self,
|
||||
size_t* valCount,
|
||||
cef_point_t* val);
|
||||
|
||||
///
|
||||
// Return the number of points that will be output above.
|
||||
/// Return the number of points that will be output above.
|
||||
///
|
||||
size_t(CEF_CALLBACK* get_point_list_size)(
|
||||
struct _cef_translator_test_t* self);
|
||||
|
||||
// LIBRARY-SIDE REFPTR VALUES
|
||||
|
||||
///
|
||||
// Return an new library-side object.
|
||||
/// Return an new library-side object.
|
||||
///
|
||||
struct _cef_translator_test_ref_ptr_library_t*(
|
||||
CEF_CALLBACK* get_ref_ptr_library)(struct _cef_translator_test_t* self,
|
||||
int val);
|
||||
|
||||
///
|
||||
// Set an object. Returns the value from
|
||||
// cef_translator_test_ref_ptr_library_t::get_value(). This tests input and
|
||||
// execution of a library-side object type.
|
||||
/// Set an object. Returns the value from
|
||||
/// cef_translator_test_ref_ptr_library_t::get_value(). This tests input and
|
||||
/// execution of a library-side object type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_ref_ptr_library)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_library_t* val);
|
||||
|
||||
///
|
||||
// Set an object. Returns the object passed in. This tests input and output of
|
||||
// a library-side object type.
|
||||
/// Set an object. Returns the object passed in. This tests input and output
|
||||
/// of a library-side object type.
|
||||
///
|
||||
struct _cef_translator_test_ref_ptr_library_t*(
|
||||
CEF_CALLBACK* set_ref_ptr_library_and_return)(
|
||||
@@ -276,17 +268,17 @@ typedef struct _cef_translator_test_t {
|
||||
struct _cef_translator_test_ref_ptr_library_t* val);
|
||||
|
||||
///
|
||||
// Set a child object. Returns the value from
|
||||
// cef_translator_test_ref_ptr_library_t::get_value(). This tests input of a
|
||||
// library- side child object type and execution as the parent type.
|
||||
/// Set a child object. Returns the value from
|
||||
/// cef_translator_test_ref_ptr_library_t::get_value(). This tests input of a
|
||||
/// library- side child object type and execution as the parent type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_child_ref_ptr_library)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_library_child_t* val);
|
||||
|
||||
///
|
||||
// Set a child object. Returns the object as the parent type. This tests input
|
||||
// of a library-side child object type and return as the parent type.
|
||||
/// Set a child object. Returns the object as the parent type. This tests
|
||||
/// input of a library-side child object type and return as the parent type.
|
||||
///
|
||||
struct _cef_translator_test_ref_ptr_library_t*(
|
||||
CEF_CALLBACK* set_child_ref_ptr_library_and_return_parent)(
|
||||
@@ -294,7 +286,7 @@ typedef struct _cef_translator_test_t {
|
||||
struct _cef_translator_test_ref_ptr_library_child_t* val);
|
||||
|
||||
///
|
||||
// Set an object list vlaue.
|
||||
/// Set an object list vlaue.
|
||||
///
|
||||
int(CEF_CALLBACK* set_ref_ptr_library_list)(
|
||||
struct _cef_translator_test_t* self,
|
||||
@@ -304,7 +296,7 @@ typedef struct _cef_translator_test_t {
|
||||
int val2);
|
||||
|
||||
///
|
||||
// Return an object list value by out-param.
|
||||
/// Return an object list value by out-param.
|
||||
///
|
||||
int(CEF_CALLBACK* get_ref_ptr_library_list_by_ref)(
|
||||
struct _cef_translator_test_t* self,
|
||||
@@ -314,25 +306,23 @@ typedef struct _cef_translator_test_t {
|
||||
int val2);
|
||||
|
||||
///
|
||||
// Return the number of object that will be output above.
|
||||
/// Return the number of object that will be output above.
|
||||
///
|
||||
size_t(CEF_CALLBACK* get_ref_ptr_library_list_size)(
|
||||
struct _cef_translator_test_t* self);
|
||||
|
||||
// CLIENT-SIDE REFPTR VALUES
|
||||
|
||||
///
|
||||
// Set an object. Returns the value from
|
||||
// cef_translator_test_ref_ptr_client_t::get_value(). This tests input and
|
||||
// execution of a client-side object type.
|
||||
/// Set an object. Returns the value from
|
||||
/// cef_translator_test_ref_ptr_client_t::get_value(). This tests input and
|
||||
/// execution of a client-side object type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_ref_ptr_client)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_client_t* val);
|
||||
|
||||
///
|
||||
// Set an object. Returns the handler passed in. This tests input and output
|
||||
// of a client-side object type.
|
||||
/// Set an object. Returns the handler passed in. This tests input and output
|
||||
/// of a client-side object type.
|
||||
///
|
||||
struct _cef_translator_test_ref_ptr_client_t*(
|
||||
CEF_CALLBACK* set_ref_ptr_client_and_return)(
|
||||
@@ -340,17 +330,17 @@ typedef struct _cef_translator_test_t {
|
||||
struct _cef_translator_test_ref_ptr_client_t* val);
|
||||
|
||||
///
|
||||
// Set a child object. Returns the value from
|
||||
// cef_translator_test_ref_ptr_client_t::get_value(). This tests input of a
|
||||
// client- side child object type and execution as the parent type.
|
||||
/// Set a child object. Returns the value from
|
||||
/// cef_translator_test_ref_ptr_client_t::get_value(). This tests input of a
|
||||
/// client- side child object type and execution as the parent type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_child_ref_ptr_client)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_ref_ptr_client_child_t* val);
|
||||
|
||||
///
|
||||
// Set a child object. Returns the object as the parent type. This tests input
|
||||
// of a client-side child object type and return as the parent type.
|
||||
/// Set a child object. Returns the object as the parent type. This tests
|
||||
/// input of a client-side child object type and return as the parent type.
|
||||
///
|
||||
struct _cef_translator_test_ref_ptr_client_t*(
|
||||
CEF_CALLBACK* set_child_ref_ptr_client_and_return_parent)(
|
||||
@@ -358,7 +348,7 @@ typedef struct _cef_translator_test_t {
|
||||
struct _cef_translator_test_ref_ptr_client_child_t* val);
|
||||
|
||||
///
|
||||
// Set an object list vlaue.
|
||||
/// Set an object list vlaue.
|
||||
///
|
||||
int(CEF_CALLBACK* set_ref_ptr_client_list)(
|
||||
struct _cef_translator_test_t* self,
|
||||
@@ -368,7 +358,7 @@ typedef struct _cef_translator_test_t {
|
||||
int val2);
|
||||
|
||||
///
|
||||
// Return an object list value by out-param.
|
||||
/// Return an object list value by out-param.
|
||||
///
|
||||
int(CEF_CALLBACK* get_ref_ptr_client_list_by_ref)(
|
||||
struct _cef_translator_test_t* self,
|
||||
@@ -378,32 +368,30 @@ typedef struct _cef_translator_test_t {
|
||||
struct _cef_translator_test_ref_ptr_client_t* val2);
|
||||
|
||||
///
|
||||
// Return the number of object that will be output above.
|
||||
/// Return the number of object that will be output above.
|
||||
///
|
||||
size_t(CEF_CALLBACK* get_ref_ptr_client_list_size)(
|
||||
struct _cef_translator_test_t* self);
|
||||
|
||||
// LIBRARY-SIDE OWNPTR VALUES
|
||||
|
||||
///
|
||||
// Return an new library-side object.
|
||||
/// Return an new library-side object.
|
||||
///
|
||||
struct _cef_translator_test_scoped_library_t*(
|
||||
CEF_CALLBACK* get_own_ptr_library)(struct _cef_translator_test_t* self,
|
||||
int val);
|
||||
|
||||
///
|
||||
// Set an object. Returns the value from
|
||||
// cef_translator_test_scoped_library_t::get_value(). This tests input and
|
||||
// execution of a library-side object type.
|
||||
/// Set an object. Returns the value from
|
||||
/// cef_translator_test_scoped_library_t::get_value(). This tests input and
|
||||
/// execution of a library-side object type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_own_ptr_library)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_library_t* val);
|
||||
|
||||
///
|
||||
// Set an object. Returns the object passed in. This tests input and output of
|
||||
// a library-side object type.
|
||||
/// Set an object. Returns the object passed in. This tests input and output
|
||||
/// of a library-side object type.
|
||||
///
|
||||
struct _cef_translator_test_scoped_library_t*(
|
||||
CEF_CALLBACK* set_own_ptr_library_and_return)(
|
||||
@@ -411,37 +399,35 @@ typedef struct _cef_translator_test_t {
|
||||
struct _cef_translator_test_scoped_library_t* val);
|
||||
|
||||
///
|
||||
// Set a child object. Returns the value from
|
||||
// cef_translator_test_scoped_library_t::get_value(). This tests input of a
|
||||
// library- side child object type and execution as the parent type.
|
||||
/// Set a child object. Returns the value from
|
||||
/// cef_translator_test_scoped_library_t::get_value(). This tests input of a
|
||||
/// library- side child object type and execution as the parent type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_child_own_ptr_library)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_library_child_t* val);
|
||||
|
||||
///
|
||||
// Set a child object. Returns the object as the parent type. This tests input
|
||||
// of a library-side child object type and return as the parent type.
|
||||
/// Set a child object. Returns the object as the parent type. This tests
|
||||
/// input of a library-side child object type and return as the parent type.
|
||||
///
|
||||
struct _cef_translator_test_scoped_library_t*(
|
||||
CEF_CALLBACK* set_child_own_ptr_library_and_return_parent)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_library_child_t* val);
|
||||
|
||||
// CLIENT-SIDE OWNPTR VALUES
|
||||
|
||||
///
|
||||
// Set an object. Returns the value from
|
||||
// cef_translator_test_scoped_client_t::get_value(). This tests input and
|
||||
// execution of a client-side object type.
|
||||
/// Set an object. Returns the value from
|
||||
/// cef_translator_test_scoped_client_t::get_value(). This tests input and
|
||||
/// execution of a client-side object type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_own_ptr_client)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_client_t* val);
|
||||
|
||||
///
|
||||
// Set an object. Returns the handler passed in. This tests input and output
|
||||
// of a client-side object type.
|
||||
/// Set an object. Returns the handler passed in. This tests input and output
|
||||
/// of a client-side object type.
|
||||
///
|
||||
struct _cef_translator_test_scoped_client_t*(
|
||||
CEF_CALLBACK* set_own_ptr_client_and_return)(
|
||||
@@ -449,45 +435,43 @@ typedef struct _cef_translator_test_t {
|
||||
struct _cef_translator_test_scoped_client_t* val);
|
||||
|
||||
///
|
||||
// Set a child object. Returns the value from
|
||||
// cef_translator_test_scoped_client_t::get_value(). This tests input of a
|
||||
// client- side child object type and execution as the parent type.
|
||||
/// Set a child object. Returns the value from
|
||||
/// cef_translator_test_scoped_client_t::get_value(). This tests input of a
|
||||
/// client- side child object type and execution as the parent type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_child_own_ptr_client)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_client_child_t* val);
|
||||
|
||||
///
|
||||
// Set a child object. Returns the object as the parent type. This tests input
|
||||
// of a client-side child object type and return as the parent type.
|
||||
/// Set a child object. Returns the object as the parent type. This tests
|
||||
/// input of a client-side child object type and return as the parent type.
|
||||
///
|
||||
struct _cef_translator_test_scoped_client_t*(
|
||||
CEF_CALLBACK* set_child_own_ptr_client_and_return_parent)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_client_child_t* val);
|
||||
|
||||
// LIBRARY-SIDE RAWPTR VALUES
|
||||
|
||||
///
|
||||
// Set an object. Returns the value from
|
||||
// cef_translator_test_scoped_library_t::get_value(). This tests input and
|
||||
// execution of a library-side object type.
|
||||
/// Set an object. Returns the value from
|
||||
/// cef_translator_test_scoped_library_t::get_value(). This tests input and
|
||||
/// execution of a library-side object type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_raw_ptr_library)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_library_t* val);
|
||||
|
||||
///
|
||||
// Set a child object. Returns the value from
|
||||
// cef_translator_test_scoped_library_t::get_value(). This tests input of a
|
||||
// library- side child object type and execution as the parent type.
|
||||
/// Set a child object. Returns the value from
|
||||
/// cef_translator_test_scoped_library_t::get_value(). This tests input of a
|
||||
/// library- side child object type and execution as the parent type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_child_raw_ptr_library)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_library_child_t* val);
|
||||
|
||||
///
|
||||
// Set an object list vlaue.
|
||||
/// Set an object list vlaue.
|
||||
///
|
||||
int(CEF_CALLBACK* set_raw_ptr_library_list)(
|
||||
struct _cef_translator_test_t* self,
|
||||
@@ -496,28 +480,26 @@ typedef struct _cef_translator_test_t {
|
||||
int val1,
|
||||
int val2);
|
||||
|
||||
// CLIENT-SIDE RAWPTR VALUES
|
||||
|
||||
///
|
||||
// Set an object. Returns the value from
|
||||
// cef_translator_test_scoped_client_t::get_value(). This tests input and
|
||||
// execution of a client-side object type.
|
||||
/// Set an object. Returns the value from
|
||||
/// cef_translator_test_scoped_client_t::get_value(). This tests input and
|
||||
/// execution of a client-side object type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_raw_ptr_client)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_client_t* val);
|
||||
|
||||
///
|
||||
// Set a child object. Returns the value from
|
||||
// cef_translator_test_scoped_client_t::get_value(). This tests input of a
|
||||
// client- side child object type and execution as the parent type.
|
||||
/// Set a child object. Returns the value from
|
||||
/// cef_translator_test_scoped_client_t::get_value(). This tests input of a
|
||||
/// client- side child object type and execution as the parent type.
|
||||
///
|
||||
int(CEF_CALLBACK* set_child_raw_ptr_client)(
|
||||
struct _cef_translator_test_t* self,
|
||||
struct _cef_translator_test_scoped_client_child_t* val);
|
||||
|
||||
///
|
||||
// Set an object list vlaue.
|
||||
/// Set an object list vlaue.
|
||||
///
|
||||
int(CEF_CALLBACK* set_raw_ptr_client_list)(
|
||||
struct _cef_translator_test_t* self,
|
||||
@@ -528,27 +510,27 @@ typedef struct _cef_translator_test_t {
|
||||
} cef_translator_test_t;
|
||||
|
||||
///
|
||||
// Create the test object.
|
||||
/// Create the test object.
|
||||
///
|
||||
CEF_EXPORT cef_translator_test_t* cef_translator_test_create(void);
|
||||
|
||||
///
|
||||
// Library-side test object for RefPtr.
|
||||
/// Library-side test object for RefPtr.
|
||||
///
|
||||
typedef struct _cef_translator_test_ref_ptr_library_t {
|
||||
///
|
||||
// Base structure.
|
||||
/// Base structure.
|
||||
///
|
||||
cef_base_ref_counted_t base;
|
||||
|
||||
///
|
||||
// Return a value.
|
||||
/// Return a value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_value)(
|
||||
struct _cef_translator_test_ref_ptr_library_t* self);
|
||||
|
||||
///
|
||||
// Set a value.
|
||||
/// Set a value.
|
||||
///
|
||||
void(CEF_CALLBACK* set_value)(
|
||||
struct _cef_translator_test_ref_ptr_library_t* self,
|
||||
@@ -556,28 +538,28 @@ typedef struct _cef_translator_test_ref_ptr_library_t {
|
||||
} cef_translator_test_ref_ptr_library_t;
|
||||
|
||||
///
|
||||
// Create the test object.
|
||||
/// Create the test object.
|
||||
///
|
||||
CEF_EXPORT cef_translator_test_ref_ptr_library_t*
|
||||
cef_translator_test_ref_ptr_library_create(int value);
|
||||
|
||||
///
|
||||
// Library-side child test object for RefPtr.
|
||||
/// Library-side child test object for RefPtr.
|
||||
///
|
||||
typedef struct _cef_translator_test_ref_ptr_library_child_t {
|
||||
///
|
||||
// Base structure.
|
||||
/// Base structure.
|
||||
///
|
||||
cef_translator_test_ref_ptr_library_t base;
|
||||
|
||||
///
|
||||
// Return a value.
|
||||
/// Return a value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_other_value)(
|
||||
struct _cef_translator_test_ref_ptr_library_child_t* self);
|
||||
|
||||
///
|
||||
// Set a value.
|
||||
/// Set a value.
|
||||
///
|
||||
void(CEF_CALLBACK* set_other_value)(
|
||||
struct _cef_translator_test_ref_ptr_library_child_t* self,
|
||||
@@ -585,28 +567,28 @@ typedef struct _cef_translator_test_ref_ptr_library_child_t {
|
||||
} cef_translator_test_ref_ptr_library_child_t;
|
||||
|
||||
///
|
||||
// Create the test object.
|
||||
/// Create the test object.
|
||||
///
|
||||
CEF_EXPORT cef_translator_test_ref_ptr_library_child_t*
|
||||
cef_translator_test_ref_ptr_library_child_create(int value, int other_value);
|
||||
|
||||
///
|
||||
// Another library-side child test object for RefPtr.
|
||||
/// Another library-side child test object for RefPtr.
|
||||
///
|
||||
typedef struct _cef_translator_test_ref_ptr_library_child_child_t {
|
||||
///
|
||||
// Base structure.
|
||||
/// Base structure.
|
||||
///
|
||||
cef_translator_test_ref_ptr_library_child_t base;
|
||||
|
||||
///
|
||||
// Return a value.
|
||||
/// Return a value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_other_other_value)(
|
||||
struct _cef_translator_test_ref_ptr_library_child_child_t* self);
|
||||
|
||||
///
|
||||
// Set a value.
|
||||
/// Set a value.
|
||||
///
|
||||
void(CEF_CALLBACK* set_other_other_value)(
|
||||
struct _cef_translator_test_ref_ptr_library_child_child_t* self,
|
||||
@@ -614,7 +596,7 @@ typedef struct _cef_translator_test_ref_ptr_library_child_child_t {
|
||||
} cef_translator_test_ref_ptr_library_child_child_t;
|
||||
|
||||
///
|
||||
// Create the test object.
|
||||
/// Create the test object.
|
||||
///
|
||||
CEF_EXPORT cef_translator_test_ref_ptr_library_child_child_t*
|
||||
cef_translator_test_ref_ptr_library_child_child_create(int value,
|
||||
@@ -622,54 +604,54 @@ cef_translator_test_ref_ptr_library_child_child_create(int value,
|
||||
int other_other_value);
|
||||
|
||||
///
|
||||
// Client-side test object for RefPtr.
|
||||
/// Client-side test object for RefPtr.
|
||||
///
|
||||
typedef struct _cef_translator_test_ref_ptr_client_t {
|
||||
///
|
||||
// Base structure.
|
||||
/// Base structure.
|
||||
///
|
||||
cef_base_ref_counted_t base;
|
||||
|
||||
///
|
||||
// Return a value.
|
||||
/// Return a value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_value)(
|
||||
struct _cef_translator_test_ref_ptr_client_t* self);
|
||||
} cef_translator_test_ref_ptr_client_t;
|
||||
|
||||
///
|
||||
// Client-side child test object for RefPtr.
|
||||
/// Client-side child test object for RefPtr.
|
||||
///
|
||||
typedef struct _cef_translator_test_ref_ptr_client_child_t {
|
||||
///
|
||||
// Base structure.
|
||||
/// Base structure.
|
||||
///
|
||||
cef_translator_test_ref_ptr_client_t base;
|
||||
|
||||
///
|
||||
// Return a value.
|
||||
/// Return a value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_other_value)(
|
||||
struct _cef_translator_test_ref_ptr_client_child_t* self);
|
||||
} cef_translator_test_ref_ptr_client_child_t;
|
||||
|
||||
///
|
||||
// Library-side test object for OwnPtr/RawPtr.
|
||||
/// Library-side test object for OwnPtr/RawPtr.
|
||||
///
|
||||
typedef struct _cef_translator_test_scoped_library_t {
|
||||
///
|
||||
// Base structure.
|
||||
/// Base structure.
|
||||
///
|
||||
cef_base_scoped_t base;
|
||||
|
||||
///
|
||||
// Return a value.
|
||||
/// Return a value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_value)(
|
||||
struct _cef_translator_test_scoped_library_t* self);
|
||||
|
||||
///
|
||||
// Set a value.
|
||||
/// Set a value.
|
||||
///
|
||||
void(CEF_CALLBACK* set_value)(
|
||||
struct _cef_translator_test_scoped_library_t* self,
|
||||
@@ -677,28 +659,28 @@ typedef struct _cef_translator_test_scoped_library_t {
|
||||
} cef_translator_test_scoped_library_t;
|
||||
|
||||
///
|
||||
// Create the test object.
|
||||
/// Create the test object.
|
||||
///
|
||||
CEF_EXPORT cef_translator_test_scoped_library_t*
|
||||
cef_translator_test_scoped_library_create(int value);
|
||||
|
||||
///
|
||||
// Library-side child test object for OwnPtr/RawPtr.
|
||||
/// Library-side child test object for OwnPtr/RawPtr.
|
||||
///
|
||||
typedef struct _cef_translator_test_scoped_library_child_t {
|
||||
///
|
||||
// Base structure.
|
||||
/// Base structure.
|
||||
///
|
||||
cef_translator_test_scoped_library_t base;
|
||||
|
||||
///
|
||||
// Return a value.
|
||||
/// Return a value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_other_value)(
|
||||
struct _cef_translator_test_scoped_library_child_t* self);
|
||||
|
||||
///
|
||||
// Set a value.
|
||||
/// Set a value.
|
||||
///
|
||||
void(CEF_CALLBACK* set_other_value)(
|
||||
struct _cef_translator_test_scoped_library_child_t* self,
|
||||
@@ -706,28 +688,28 @@ typedef struct _cef_translator_test_scoped_library_child_t {
|
||||
} cef_translator_test_scoped_library_child_t;
|
||||
|
||||
///
|
||||
// Create the test object.
|
||||
/// Create the test object.
|
||||
///
|
||||
CEF_EXPORT cef_translator_test_scoped_library_child_t*
|
||||
cef_translator_test_scoped_library_child_create(int value, int other_value);
|
||||
|
||||
///
|
||||
// Another library-side child test object for OwnPtr/RawPtr.
|
||||
/// Another library-side child test object for OwnPtr/RawPtr.
|
||||
///
|
||||
typedef struct _cef_translator_test_scoped_library_child_child_t {
|
||||
///
|
||||
// Base structure.
|
||||
/// Base structure.
|
||||
///
|
||||
cef_translator_test_scoped_library_child_t base;
|
||||
|
||||
///
|
||||
// Return a value.
|
||||
/// Return a value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_other_other_value)(
|
||||
struct _cef_translator_test_scoped_library_child_child_t* self);
|
||||
|
||||
///
|
||||
// Set a value.
|
||||
/// Set a value.
|
||||
///
|
||||
void(CEF_CALLBACK* set_other_other_value)(
|
||||
struct _cef_translator_test_scoped_library_child_child_t* self,
|
||||
@@ -735,7 +717,7 @@ typedef struct _cef_translator_test_scoped_library_child_child_t {
|
||||
} cef_translator_test_scoped_library_child_child_t;
|
||||
|
||||
///
|
||||
// Create the test object.
|
||||
/// Create the test object.
|
||||
///
|
||||
CEF_EXPORT cef_translator_test_scoped_library_child_child_t*
|
||||
cef_translator_test_scoped_library_child_child_create(int value,
|
||||
@@ -743,32 +725,32 @@ cef_translator_test_scoped_library_child_child_create(int value,
|
||||
int other_other_value);
|
||||
|
||||
///
|
||||
// Client-side test object for OwnPtr/RawPtr.
|
||||
/// Client-side test object for OwnPtr/RawPtr.
|
||||
///
|
||||
typedef struct _cef_translator_test_scoped_client_t {
|
||||
///
|
||||
// Base structure.
|
||||
/// Base structure.
|
||||
///
|
||||
cef_base_scoped_t base;
|
||||
|
||||
///
|
||||
// Return a value.
|
||||
/// Return a value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_value)(
|
||||
struct _cef_translator_test_scoped_client_t* self);
|
||||
} cef_translator_test_scoped_client_t;
|
||||
|
||||
///
|
||||
// Client-side child test object for OwnPtr/RawPtr.
|
||||
/// Client-side child test object for OwnPtr/RawPtr.
|
||||
///
|
||||
typedef struct _cef_translator_test_scoped_client_child_t {
|
||||
///
|
||||
// Base structure.
|
||||
/// Base structure.
|
||||
///
|
||||
cef_translator_test_scoped_client_t base;
|
||||
|
||||
///
|
||||
// Return a value.
|
||||
/// Return a value.
|
||||
///
|
||||
int(CEF_CALLBACK* get_other_value)(
|
||||
struct _cef_translator_test_scoped_client_child_t* self);
|
||||
|
Reference in New Issue
Block a user