DBus interface in order to connect DBus applications to the p≡p engine.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
413 B

#include "pep-server.h"
#include "dbus-c++/error.h"
#include <signal.h>
DBus::BusDispatcher dispatcher;
void niam(int sig)
int main()
signal(SIGTERM, niam);
signal(SIGINT, niam);
DBus::default_dispatcher = &dispatcher;
DBus::Connection conn = DBus::Connection::SessionBus();
pEp::Server server(conn);
return 0;