Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix compilation on host
[staging/windowmanager.git]
/
AFBClient.h
diff --git
a/AFBClient.h
b/AFBClient.h
index
d93817b
..
6947629
100644
(file)
--- a/
AFBClient.h
+++ b/
AFBClient.h
@@
-2,15
+2,19
@@
#define AFBCLIENT_H
#include <systemd/sd-event.h>
#define AFBCLIENT_H
#include <systemd/sd-event.h>
+
+#ifdef AFB
#include <json-c/json.h>
#include "afb-wsj1.h"
#include "afb-ws-client.h"
#include <json-c/json.h>
#include "afb-wsj1.h"
#include "afb-ws-client.h"
+#endif
class AFBClient
{
public:
AFBClient();
class AFBClient
{
public:
AFBClient();
+ bool init();
void requestSurface(const char *label);
void activateSurface(const char *label);
void deactivateSurface(const char *label);
void requestSurface(const char *label);
void activateSurface(const char *label);
void deactivateSurface(const char *label);