You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
448 B
18 lines
448 B
#include <tdeapplication.h>
|
|
#include <dcopclient.h>
|
|
|
|
#include "KIDLTest_stub.h"
|
|
|
|
int main( int argc, char** argv )
|
|
{
|
|
TDEApplication app( argc, argv, "KIDLTestClient", false /* No GUI */ );
|
|
|
|
kapp->dcopClient()->attach();
|
|
// kapp->dcopClient()->registerAs( "kidlclienttest" );
|
|
|
|
KIDLTest_stub* t = new KIDLTest_stub( "kidlservertest", "Hello" );
|
|
|
|
TQString ret = t->hello("Torben");
|
|
tqDebug("Server says: %s", ret.latin1() );
|
|
}
|