* Added another simple D-Bus C++ example

git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@8167 30a43799-04e7-0310-8b2b-ea0d24f86d0e
This commit is contained in:
pdurante 2006-10-24 21:01:36 +00:00
parent f62efeac80
commit a9e3429b9e
25 changed files with 14253 additions and 9562 deletions

View file

@ -0,0 +1,25 @@
#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 );
DBus::Int32 Sum( const std::vector<DBus::Int32> & ints );
};
#endif//__DEMO_ECHO_SERVER_H