blob: 8e8fad0b46ed12b91692bfa5d88c7a2c3697f1cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/env kjscmd
function someInterface( foo )
{
println("Foo happend with " + foo );
}
function anotherInterface( bar )
{
return "Bar " + bar;
}
var dcop = new DCOPInterface(this, "someInterface");
dcop.publish("void someInterface(TQString)");
dcop.publish("TQString anotherInterface(TQString)");
application.exec();
|