
- changed code formating from tabs to spaces and others - used astyle with this option: --style=ansi --indent=spaces=2 -M --pad-oper --unpad-paren --pad-header --align-pointer=name --lineend=linux
29 lines
616 B
C++
29 lines
616 B
C++
#ifndef __DEMO_ECHO_SERVER_H
|
|
#define __DEMO_ECHO_SERVER_H
|
|
|
|
#include <dbus-c++/dbus.h>
|
|
#include "echo-server-glue.h"
|
|
|
|
class EchoServer
|
|
: public org::freedesktop::DBus::EchoDemo_adaptor,
|
|
public DBus::IntrospectableAdaptor,
|
|
public DBus::ObjectAdaptor
|
|
{
|
|
public:
|
|
|
|
EchoServer(DBus::Connection &connection);
|
|
|
|
int32_t Random();
|
|
|
|
std::string Hello(const std::string &name);
|
|
|
|
DBus::Variant Echo(const DBus::Variant &value);
|
|
|
|
std::vector< uint8_t > Cat(const std::string &file);
|
|
|
|
int32_t Sum(const std::vector<int32_t> & ints);
|
|
|
|
std::map< std::string, std::string > Info();
|
|
};
|
|
|
|
#endif//__DEMO_ECHO_SERVER_H
|