summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spillaz <smspillaz@gmail.com>2008-04-26 21:21:39 +0800
committerSam Spillaz <smspillaz@gmail.com>2008-04-26 21:21:39 +0800
commit1f4b91e8f37730671b44c2159824c25b5e7f1474 (patch)
tree75926a1b42479207369a59ac52e6e0c99291f855
parent1555dbd527ed4dae30e61e49042f581527c8877d (diff)
downloadwiimote-1f4b91e8f37730671b44c2159824c25b5e7f1474.tar.gz
wiimote-1f4b91e8f37730671b44c2159824c25b5e7f1474.tar.bz2
* Part 9: Put all the includes in compiz-wiimote.h ... almost done!
-rw-r--r--compiz-wiimote.h11
-rw-r--r--prompt.c1
-rw-r--r--wiimote.c3
3 files changed, 14 insertions, 1 deletions
diff --git a/compiz-wiimote.h b/compiz-wiimote.h
index c79fbde..5946886 100644
--- a/compiz-wiimote.h
+++ b/compiz-wiimote.h
@@ -23,6 +23,17 @@
#include <compiz-core.h>
#include <cwiid.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <stdint.h>
+
+#include <string.h>
+#include <math.h>
+
+#include <compiz-core.h>
+#include <compiz-text.h>
+
+#include <unistd.h>
#include "wiimote_options.h"
COMPIZ_BEGIN_DECLS
diff --git a/prompt.c b/prompt.c
deleted file mode 100644
index 8b13789..0000000
--- a/prompt.c
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/wiimote.c b/wiimote.c
index f8450e4..a486df5 100644
--- a/wiimote.c
+++ b/wiimote.c
@@ -37,6 +37,8 @@
static int corePrivateIndex;
/* Wrappable Functions --------------------------------------------------- */
+
+/* TODO: Remove. Doesn't actually _do_ anything ;-) (Wasted CPU Cycles) */
static Bool
wiimotePaintOutput (CompScreen *s,
@@ -66,6 +68,7 @@ wiimotePaintOutput (CompScreen *s,
return status;
}
+
static void
wiimoteDisplayOptionChanged (CompDisplay *d,
CompOption *opt,