From 70c376063aa3a30db16facd8c103b2c6ef3b3e36 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Tue, 10 Aug 2010 16:22:18 +0000 Subject: rename "example" to "examples" --- examples/example_5_rpcInterface/remoteinterface.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/example_5_rpcInterface/remoteinterface.cpp (limited to 'examples/example_5_rpcInterface/remoteinterface.cpp') diff --git a/examples/example_5_rpcInterface/remoteinterface.cpp b/examples/example_5_rpcInterface/remoteinterface.cpp new file mode 100644 index 00000000..77d52384 --- /dev/null +++ b/examples/example_5_rpcInterface/remoteinterface.cpp @@ -0,0 +1,15 @@ +#include "remoteinterface.h" + +RemoteInterface::RemoteInterface(QObject *parent) : QXmppInvokable(parent) +{ +} + +bool RemoteInterface::isAuthorized( const QString &jid ) const +{ + return true; +} + +QString RemoteInterface::echoString(const QString& message) +{ + return "Echo: " + message; +} -- cgit v1.2.3