author | korovkin <korovkin> | 2006-10-24 20:39:01 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-10-24 20:39:01 (UTC) |
commit | b742daec72bbef07039b785dcadca9dca9a0dc1c (patch) (side-by-side diff) | |
tree | 9aa359723443aab322dedd95110858718287784b /core/obex/obex.cpp | |
parent | 687aa5f6bd15190461d4460779d1913e7bd0db55 (diff) | |
download | opie-b742daec72bbef07039b785dcadca9dca9a0dc1c.zip opie-b742daec72bbef07039b785dcadca9dca9a0dc1c.tar.gz opie-b742daec72bbef07039b785dcadca9dca9a0dc1c.tar.bz2 |
IR OBEX is handled by OPIE OBEX functions, not by external utility.
-rw-r--r-- | core/obex/obex.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/obex/obex.cpp b/core/obex/obex.cpp index 95c561a..e4a3c31 100644 --- a/core/obex/obex.cpp +++ b/core/obex/obex.cpp @@ -48,26 +48,25 @@ using namespace Opie::Core; Obex::Obex( QObject *parent, const char* name ) : ObexBase(parent, name ) { m_rec = 0; m_send=0; }; Obex::~Obex() { delete m_rec; delete m_send; } void Obex::receive() { ObexBase::receive(); - m_rec = new OProcess(); - *m_rec << "irobex_palm3"; + m_rec = new ObexServer(OBEX_TRANS_IRDA); // connect to the necessary slots connect(m_rec, SIGNAL(processExited(Opie::Core::OProcess*) ), this, SLOT(slotExited(Opie::Core::OProcess*) ) ); connect(m_rec, SIGNAL(receivedStdout(Opie::Core::OProcess*, char*, int ) ), this, SLOT(slotStdOut(Opie::Core::OProcess*, char*, int) ) ); if(!m_rec->start(OProcess::NotifyOnExit, OProcess::AllOutput) ) { emit done( false ); delete m_rec; m_rec = 0; } |