48 QSharedPointer<ito::FunctionCancellationAndObserver> *progressObserver;
53 #define PyProgressObserver_Check(op) PyObject_TypeCheck(op, &ito::PythonProgressObserver::PyProgressObserverType)
59 static PyObject* PyProgressObserver_new(PyTypeObject *type, PyObject *args, PyObject *kwds);
60 static int PyProgressObserver_init(
PyProgressObserver *self, PyObject *args, PyObject *kwds);
69 static PyObject* PyProgressObserver_connect(
PyProgressObserver *self, PyObject* args, PyObject *kwds);
70 static PyObject* PyProgressObserver_disconnect(
PyProgressObserver *self, PyObject* args, PyObject *kwds);
76 static PyObject* PyProgressObserver_getProgressMinimum(
PyProgressObserver *self,
void *closure);
77 static int PyProgressObserver_setProgressMinimum(
PyProgressObserver *self, PyObject *value,
void *closure);
79 static PyObject* PyProgressObserver_getProgressMaximum(
PyProgressObserver *self,
void *closure);
80 static int PyProgressObserver_setProgressMaximum(
PyProgressObserver *self, PyObject *value,
void *closure);
82 static PyObject* PyProgressObserver_getProgressValue(
PyProgressObserver *self,
void *closure);
83 static int PyProgressObserver_setProgressValue(
PyProgressObserver *self, PyObject *value,
void *closure);
85 static PyObject* PyProgressObserver_getProgressText(
PyProgressObserver *self,
void *closure);
86 static int PyProgressObserver_setProgressText(
PyProgressObserver *self, PyObject *value,
void *closure);
88 static PyObject* PyProgressObserver_isCancelled(
PyProgressObserver *self,
void *closure);
94 static PyMethodDef PyProgressObserver_methods[];
95 static PyGetSetDef PyProgressObserver_getseters[];
96 static PyTypeObject PyProgressObserverType;
97 static PyModuleDef PyProgressObserverModule;
99 static void PyProgressObserver_addTpDict(PyObject *tp_dict);