File: testserver.h

package info (click to toggle)
qxmlrpc 0.0.svn6-2
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 392 kB
  • ctags: 200
  • sloc: cpp: 1,621; python: 29; makefile: 23
file content (22 lines) | stat: -rw-r--r-- 496 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// vim:tabstop=4:shiftwidth=4:expandtab:cinoptions=(s,U1,m1
// Copyright (C) 2007
// Author Dmitry Poplavsky <dmitry.poplavsky@gmail.com>

#ifndef TESTSERVER_H
#define TESTSERVER_H

#include "xmlrpc/server.h"

class TestServer: public QObject{
Q_OBJECT
public:
    TestServer(int port, QObject *parent = 0);
    virtual ~TestServer();
private slots:
    void processRequest( int requestId, QString methodName, QList<xmlrpc::Variant> parameters );

private:
    xmlrpc::Server *server;
};

#endif