summaryrefslogtreecommitdiffstats
path: root/tdecore/tests/KIDLTestClient.cpp
blob: 3fadee13efe2b7eca0d2e22e104acd135ed343ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <tdeapplication.h>
#include <dcopclient.h>

#include "KIDLTest_stub.h"

int main( int argc, char** argv )
{
    TDEApplication app( argc, argv, "KIDLTestClient", false /* No GUI */ );

    tdeApp->dcopClient()->attach();
    // tdeApp->dcopClient()->registerAs( "kidlclienttest" );

    KIDLTest_stub* t = new KIDLTest_stub( "kidlservertest", "Hello" );

    TQString ret = t->hello("Torben");
    tqDebug("Server says: %s", ret.latin1() );
}