#include <lib/base/ebase.h>
#include <lib/base/smartptr.h>
#include <lib/base/eerror.h>
-#include <lib/base/econfig.h>
+#include <lib/base/console.h>
#include <lib/service/iservice.h>
#include <lib/service/service.h>
#include <lib/service/event.h>
#include <lib/gui/ewindowstyleskinned.h>
#include <lib/gui/ewidgetanimation.h>
#include <lib/gui/eslider.h>
+#include <lib/gui/epositiongauge.h>
#include <lib/python/connections.h>
#include <lib/gui/elistbox.h>
#include <lib/gui/elistboxcontent.h>
%include <lib/python/swig.h>
%include <lib/base/object.h>
%include <lib/base/eerror.h>
-%include <lib/base/econfig.h>
%immutable eTimer::timeout;
%immutable eSocketNotifier::activated;
// TODO: embed these...
+%immutable eConsoleAppContainer::appClosed;
+%immutable eConsoleAppContainer::dataAvail;
+%immutable eConsoleAppContainer::dataSent;
%immutable eButton::selected;
%immutable eInput::changed;
%immutable eComponentScan::statusChanged;
+%immutable eComponentScan::newService;
%immutable pNavigation::m_event;
+%immutable eListbox::selectionChanged;
+%include <lib/base/console.h>
%include <lib/gdi/font.h>
%include <lib/gdi/gpixmap.h>
%include <lib/gdi/epoint.h>
%include <lib/gui/ebutton.h>
%include <lib/gui/ewindow.h>
%include <lib/gui/eslider.h>
+%include <lib/gui/epositiongauge.h>
%include <lib/gui/ewidgetdesktop.h>
%include <lib/gui/elistbox.h>
%include <lib/gui/elistboxcontent.h>
PyObject *get();
};
-template<class R, class P0> class PSignal1
-{
-public:
- PyObject *get();
-};
+%template(PSignal0V) PSignal0<void>;
-template<class R, class P0, class P1> class PSignal2
+%typemap(out) PSignal0V {
+ $1 = $input->get();
+}
+
+template<class R, class P0> class PSignal1
{
public:
PyObject *get();
$1 = $input->get();
}
-%template(PSignal0V) PSignal0<void>;
+template<class R, class P0> class PSignal1Str
+{
+public:
+ PyObject *get();
+};
-%typemap(out) PSignal0V {
+%template(PSignal1VS) PSignal1Str<void,const char*>;
+
+%typemap(out) PSignal1VS {
$1 = $input->get();
}
+template<class R, class P0, class P1> class PSignal2
+{
+public:
+ PyObject *get();
+};
/************** debug **************/
TestObj *result = (TestObj *)new TestObj();
return SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_TestObj, 1);
}
+PyObject *New_eServiceReference(const eServiceReference &ref)
+{
+ eServiceReference *result = new eServiceReference(ref);
+ return SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_eServiceReference, 1);
+}
%}