|
|
@ -1,6 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
/***************************************************************************
|
|
|
|
Jabber Service Discovery KIO Slave
|
|
|
|
Jabber Service Discovery TDEIO Slave
|
|
|
|
-------------------
|
|
|
|
-------------------
|
|
|
|
begin : Wed June 1 2005
|
|
|
|
begin : Wed June 1 2005
|
|
|
|
copyright : (C) 2005 by Till Gerken <till@tantalo.net>
|
|
|
|
copyright : (C) 2005 by Till Gerken <till@tantalo.net>
|
|
|
@ -33,7 +33,7 @@
|
|
|
|
#include "jabberclient.h"
|
|
|
|
#include "jabberclient.h"
|
|
|
|
|
|
|
|
|
|
|
|
JabberDiscoProtocol::JabberDiscoProtocol ( const TQCString &pool_socket, const TQCString &app_socket )
|
|
|
|
JabberDiscoProtocol::JabberDiscoProtocol ( const TQCString &pool_socket, const TQCString &app_socket )
|
|
|
|
: TDEIO::SlaveBase ( "kio_jabberdisco", pool_socket, app_socket )
|
|
|
|
: TDEIO::SlaveBase ( "tdeio_jabberdisco", pool_socket, app_socket )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug ( JABBER_DISCO_DEBUG ) << k_funcinfo << "Slave launched." << endl;
|
|
|
|
kdDebug ( JABBER_DISCO_DEBUG ) << k_funcinfo << "Slave launched." << endl;
|
|
|
|
|
|
|
|
|
|
|
@ -380,13 +380,13 @@ extern "C"
|
|
|
|
|
|
|
|
|
|
|
|
int kdemain ( int argc, char **argv )
|
|
|
|
int kdemain ( int argc, char **argv )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TDEApplication app(argc, argv, "kio_jabberdisco", false, true);
|
|
|
|
TDEApplication app(argc, argv, "tdeio_jabberdisco", false, true);
|
|
|
|
|
|
|
|
|
|
|
|
kdDebug(JABBER_DISCO_DEBUG) << k_funcinfo << endl;
|
|
|
|
kdDebug(JABBER_DISCO_DEBUG) << k_funcinfo << endl;
|
|
|
|
|
|
|
|
|
|
|
|
if ( argc != 4 )
|
|
|
|
if ( argc != 4 )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
kdDebug(JABBER_DISCO_DEBUG) << "Usage: kio_jabberdisco protocol domain-socket1 domain-socket2" << endl;
|
|
|
|
kdDebug(JABBER_DISCO_DEBUG) << "Usage: tdeio_jabberdisco protocol domain-socket1 domain-socket2" << endl;
|
|
|
|
exit(-1);
|
|
|
|
exit(-1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|