summaryrefslogtreecommitdiff
path: root/compiz-wiimote.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiz-wiimote.h')
-rw-r--r--compiz-wiimote.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/compiz-wiimote.h b/compiz-wiimote.h
index ec507fe..fa06e20 100644
--- a/compiz-wiimote.h
+++ b/compiz-wiimote.h
@@ -320,10 +320,20 @@ typedef struct _CompWiimote
int count;
pthread_t connectWiimote; /* Threading Handler */
- struct _CompWiimote *next; // The future $$$$$$ =)
+ struct _CompWiimote *next;
} CompWiimote;
+typedef struct _WiimoteBaseFunctions
+{
+ CompWiimote * (*wiimoteForIter) (CompDisplay *d,
+ int iter);
+} WiimoteBaseFunctions;
+
+CompWiimote *
+wiimoteForIter (CompDisplay *d,
+ int iter);
+
/* Shortcut Macros --------------------------------------------------- */
#define toggle_bit(bf,b) \