Add files via upload

This commit is contained in:
nmset
2017-12-17 17:31:49 +01:00
committed by GitHub
parent 3aa2ebd1ae
commit 6e6916aabe
22 changed files with 1550 additions and 0 deletions

40
DBusPOD7Workers.h Normal file
View File

@@ -0,0 +1,40 @@
/*
* File: DBusPOD7Workers.h
* Author: SET - nmset@netcourrier.com
* License : GPL V2
*
* Created on 10 décembre 2017, 14:12
*/
#ifndef DBUSPOD7WORKERS_H
#define DBUSPOD7WORKERS_H
#include "pod7_adaptor.hpp"
/**
* This class only enters the DBus loop in a thread.
*/
class DBusPOD7Adaptor : public pedal::event_adaptor,
public DBus::IntrospectableAdaptor,
public DBus::ObjectAdaptor
{
public:
DBusPOD7Adaptor(DBus::Connection &connection);
virtual ~DBusPOD7Adaptor();
/**
* Exits the application by sending SIGTERM.
*/
void Quit() override;
/**
* Enters the DBus loop.
* @return
*/
static int Entry();
private:
};
#endif /* DBUSPOD7WORKERS_H */