
- changed code formating from tabs to spaces and others - used astyle with this option: --style=ansi --indent=spaces=2 -M --pad-oper --unpad-paren --pad-header --align-pointer=name --lineend=linux
29 lines
484 B
C++
29 lines
484 B
C++
#ifndef TEST_APP_H
|
|
#define TEST_APP_H
|
|
|
|
// STD
|
|
#include <cstring>
|
|
#include <list>
|
|
#include <string>
|
|
|
|
/* DBus-cxx */
|
|
#include <dbus-c++/dbus.h>
|
|
#include "TestAppIntroProvider.h"
|
|
|
|
class TestApp
|
|
{
|
|
public:
|
|
TestApp();
|
|
|
|
private:
|
|
void initDBus();
|
|
|
|
static void testHandler(const void *data, void *buffer, unsigned int nbyte);
|
|
static void *testThreadRunner(void *arg);
|
|
static void *testThreadRunnerProvider(void *arg);
|
|
|
|
// variables
|
|
pthread_t testThread;
|
|
};
|
|
|
|
#endif // TEST_APP_H
|