blob: 8b489e87fdc661899ceec05ff45b232fe345ffe0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#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
|