params: remove params_pxd.pxd (#22723)
parent
257d2b447d
commit
92682cb8e0
3 changed files with 20 additions and 45 deletions
@ -1,28 +0,0 @@ |
||||
from libcpp.string cimport string |
||||
from libcpp cimport bool |
||||
|
||||
cdef extern from "selfdrive/common/params.cc": |
||||
pass |
||||
|
||||
cdef extern from "selfdrive/common/util.cc": |
||||
pass |
||||
|
||||
cdef extern from "selfdrive/common/params.h": |
||||
cpdef enum ParamKeyType: |
||||
PERSISTENT |
||||
CLEAR_ON_MANAGER_START |
||||
CLEAR_ON_PANDA_DISCONNECT |
||||
CLEAR_ON_IGNITION_ON |
||||
CLEAR_ON_IGNITION_OFF |
||||
ALL |
||||
|
||||
cdef cppclass Params: |
||||
Params() nogil |
||||
Params(string) nogil |
||||
string get(string, bool) nogil |
||||
bool getBool(string) nogil |
||||
int remove(string) nogil |
||||
int put(string, string) nogil |
||||
int putBool(string, bool) nogil |
||||
bool checkKey(string) nogil |
||||
void clearAll(ParamKeyType) |
Loading…
Reference in new issue