forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcef_command_line.pxd
More file actions
27 lines (23 loc) · 1.07 KB
/
Copy pathcef_command_line.pxd
File metadata and controls
27 lines (23 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (c) 2014 CEF Python, see the Authors file.
# All rights reserved. Licensed under BSD 3-clause license.
# Project website: https://github.com/cztomczak/cefpython
# Circular imports are allowed in form "cimport ...",
# but won't work if you do "from ... cimport *".
include "compile_time_constants.pxi"
from cef_string cimport CefString
from libcpp cimport bool as cpp_bool
from libcpp.vector cimport vector as cpp_vector
from libcpp.map cimport map as cpp_map
cdef extern from "include/cef_command_line.h":
cdef cppclass CefCommandLine:
void AppendSwitch(CefString& name)
void AppendSwitchWithValue(CefString& name, CefString& value)
CefString GetCommandLineString()
cpp_bool HasSwitch(const CefString& name)
CefString GetSwitchValue(const CefString& name)
void Reset()
CefString GetProgram()
void SetProgram(const CefString& program)
void GetSwitches(cpp_map[CefString, CefString]& switches)
void GetArguments(cpp_vector[CefString]& arguments)
void AppendArgument(const CefString& argument)