X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fpython.hh;h=c1655503fafc25dc37dffa20c5577e4d23d97f71;hb=838f76cd216aaadce186ab5dd4302845d89dd2f8;hp=6acc538b6db4d2f4471637bd9f9f5f1290687cfb;hpb=fbfa2798623ffa2ae34946070d35eb529a6cb6a9;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); + }