
git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@9595 30a43799-04e7-0310-8b2b-ea0d24f86d0e
29 lines
625 B
C++
29 lines
625 B
C++
#ifndef __DEMO_ECHO_SERVER_H
|
|
#define __DEMO_ECHO_SERVER_H
|
|
|
|
#include <dbus-c++/dbus.h>
|
|
#include "echo-glue.h"
|
|
|
|
class EchoServer
|
|
: public org::freedesktop::DBus::EchoDemo,
|
|
public DBus::IntrospectableAdaptor,
|
|
public DBus::ObjectAdaptor
|
|
{
|
|
public:
|
|
|
|
EchoServer( DBus::Connection& connection );
|
|
|
|
DBus::Int32 Random();
|
|
|
|
DBus::String Hello( const DBus::String & name );
|
|
|
|
DBus::Variant Echo( const DBus::Variant & value );
|
|
|
|
std::vector< DBus::Byte > Cat( const DBus::String & file );
|
|
|
|
DBus::Int32 Sum( const std::vector<DBus::Int32> & ints );
|
|
|
|
std::map< DBus::String, DBus::String > Info();
|
|
};
|
|
|
|
#endif//__DEMO_ECHO_SERVER_H
|