]> Dogcows Code - chaz/openbox/blobdiff - src/python.hh
conflicts with python too :\
[chaz/openbox] / src / python.hh
index 61272a81d8aa36a61982bd38c6fd7d52e0cb9f78..6ca4e1c5f9569afb3831e3c45427765fe19e1ffe 100644 (file)
@@ -3,18 +3,26 @@
 #define   __python_hh
 
 /*! @file python.hh
-  @brief Python stuff
+  @brief wee
 */
 
-#include <python2.2/Python.h>
+#include "actions.hh"
+#include "widget.hh"
+
+extern "C" {
+#include <Python.h>
+}
 
 namespace ob {
 
-extern "C" {
+bool python_register(int action, PyObject *callback);
+bool python_unregister(int action, PyObject *callback);
 
-void initopenbox();
+void python_callback(OBActions::ActionType action, Window window,
+                     OBWidget::WidgetType type, unsigned int state,
+                     long d1 = LONG_MIN, long d2 = LONG_MIN,
+                     long d3 = LONG_MIN, long d4 = LONG_MIN);
 
-}
 }
 
 #endif // __python_hh
This page took 0.028629 seconds and 4 git commands to generate.