aboutsummaryrefslogtreecommitdiff
path: root/examples/example_5_rpcInterface/remoteinterface.cpp
blob: 77d52384d69a4e40159e402d7ec298a2d50a3061 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}