dbus-cxx
dbus-cxx-glib/unit-tests/calleeclass.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later OR BSD-3-Clause
2// SPDX-License-Identifier: LGPL-3.0-or-later OR BSD-3-Clause
3#ifndef CALLEECLASS_H
4#define CALLEECLASS_H
5
6#include <dbus-cxx.h>
7
9{
10private:
11 CalleeClass( std::string path );
12
13public:
14 static std::shared_ptr<CalleeClass> create( std::string path );
15
16 int add( int a, int b );
17};
18
19#endif // CALLEECLASS_H
Definition: dbus-cxx-glib/unit-tests/calleeclass.h:9
CalleeClass(std::string path)
Definition: dbus-cxx-glib/unit-tests/calleeclass.cpp:5
static std::shared_ptr< CalleeClass > create(std::string path)
Definition: dbus-cxx-glib/unit-tests/calleeclass.cpp:11
int add(int a, int b)
Definition: dbus-cxx-glib/unit-tests/calleeclass.cpp:15
An Object represents a local object that is able to be called over the DBus.
Definition: object.h:51
const Path & path() const
Returns the path this handler is associated with.
Definition: object.cpp:74