X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpython.hh;fp=src%2Fpython.hh;h=c1655503fafc25dc37dffa20c5577e4d23d97f71;hb=feaf3ac4e5847d27e3747b09e7443915afa97b0b;hp=6acc538b6db4d2f4471637bd9f9f5f1290687cfb;hpb=1dac42d9ed074bcd44f9d1016b0971ae473cc2eb;p=chaz%2Fopenbox diff --git a/src/python.hh b/src/python.hh index 6acc538b..c1655503 100644 --- a/src/python.hh +++ b/src/python.hh @@ -19,6 +19,7 @@ extern "C" { #include #include + namespace ob { class Client; @@ -232,6 +233,10 @@ void python_destroy(); //! Returns 0 for success, 1 for failing to open the file, 2 for an exception int python_exec(const std::string &path); +bool python_get_long(const char *name, long *value); +bool python_get_string(const char *name, otk::ustring *value); +bool python_get_stringlist(const char *name, std::vector *value); + }