mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Break cef.h into multiple headers (issue #142).
- Move wrapper classes from cef_wrapper.h to wrapper/ directory. - Move C API functions/classes from cef_capi.h to capi/ directory. - Move global function implementations from cef_context.cc to *_impl.cc files. - Output auto-generated file paths in cef_paths.gypi. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@442 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -28,7 +28,6 @@ CEF_EXPORT cef_command_line_t* cef_command_line_create()
|
||||
}
|
||||
|
||||
|
||||
|
||||
// MEMBER FUNCTIONS - Body may be edited by hand.
|
||||
|
||||
void CEF_CALLBACK command_line_init_from_argv(struct _cef_command_line_t* self,
|
||||
@ -50,7 +49,6 @@ void CEF_CALLBACK command_line_init_from_argv(struct _cef_command_line_t* self,
|
||||
argv);
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK command_line_init_from_string(
|
||||
struct _cef_command_line_t* self, const cef_string_t* command_line)
|
||||
{
|
||||
@ -69,7 +67,6 @@ void CEF_CALLBACK command_line_init_from_string(
|
||||
CefString(command_line));
|
||||
}
|
||||
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK command_line_get_command_line_string(
|
||||
struct _cef_command_line_t* self)
|
||||
{
|
||||
@ -86,7 +83,6 @@ cef_string_userfree_t CEF_CALLBACK command_line_get_command_line_string(
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK command_line_get_program(
|
||||
struct _cef_command_line_t* self)
|
||||
{
|
||||
@ -103,7 +99,6 @@ cef_string_userfree_t CEF_CALLBACK command_line_get_program(
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK command_line_set_program(struct _cef_command_line_t* self,
|
||||
const cef_string_t* program)
|
||||
{
|
||||
@ -122,7 +117,6 @@ void CEF_CALLBACK command_line_set_program(struct _cef_command_line_t* self,
|
||||
CefString(program));
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK command_line_has_switches(struct _cef_command_line_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -138,7 +132,6 @@ int CEF_CALLBACK command_line_has_switches(struct _cef_command_line_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK command_line_has_switch(struct _cef_command_line_t* self,
|
||||
const cef_string_t* name)
|
||||
{
|
||||
@ -160,7 +153,6 @@ int CEF_CALLBACK command_line_has_switch(struct _cef_command_line_t* self,
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
cef_string_userfree_t CEF_CALLBACK command_line_get_switch_value(
|
||||
struct _cef_command_line_t* self, const cef_string_t* name)
|
||||
{
|
||||
@ -182,7 +174,6 @@ cef_string_userfree_t CEF_CALLBACK command_line_get_switch_value(
|
||||
return _retval.DetachToUserFree();
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK command_line_get_switches(struct _cef_command_line_t* self,
|
||||
cef_string_map_t switches)
|
||||
{
|
||||
@ -209,7 +200,6 @@ void CEF_CALLBACK command_line_get_switches(struct _cef_command_line_t* self,
|
||||
transfer_string_map_contents(switchesMap, switches);
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK command_line_append_switch(struct _cef_command_line_t* self,
|
||||
const cef_string_t* name)
|
||||
{
|
||||
@ -228,7 +218,6 @@ void CEF_CALLBACK command_line_append_switch(struct _cef_command_line_t* self,
|
||||
CefString(name));
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK command_line_append_switch_with_value(
|
||||
struct _cef_command_line_t* self, const cef_string_t* name,
|
||||
const cef_string_t* value)
|
||||
@ -253,7 +242,6 @@ void CEF_CALLBACK command_line_append_switch_with_value(
|
||||
CefString(value));
|
||||
}
|
||||
|
||||
|
||||
int CEF_CALLBACK command_line_has_arguments(struct _cef_command_line_t* self)
|
||||
{
|
||||
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
|
||||
@ -269,7 +257,6 @@ int CEF_CALLBACK command_line_has_arguments(struct _cef_command_line_t* self)
|
||||
return _retval;
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK command_line_get_arguments(struct _cef_command_line_t* self,
|
||||
cef_string_list_t arguments)
|
||||
{
|
||||
@ -296,7 +283,6 @@ void CEF_CALLBACK command_line_get_arguments(struct _cef_command_line_t* self,
|
||||
transfer_string_list_contents(argumentsList, arguments);
|
||||
}
|
||||
|
||||
|
||||
void CEF_CALLBACK command_line_append_argument(struct _cef_command_line_t* self,
|
||||
const cef_string_t* argument)
|
||||
{
|
||||
@ -316,7 +302,6 @@ void CEF_CALLBACK command_line_append_argument(struct _cef_command_line_t* self,
|
||||
}
|
||||
|
||||
|
||||
|
||||
// CONSTRUCTOR - Do not edit by hand.
|
||||
|
||||
CefCommandLineCppToC::CefCommandLineCppToC(CefCommandLine* cls)
|
||||
|
Reference in New Issue
Block a user