diff options
Diffstat (limited to 'toxav/bwcontroller.h')
-rw-r--r-- | toxav/bwcontroller.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/toxav/bwcontroller.h b/toxav/bwcontroller.h index 7c101b02..9470c125 100644 --- a/toxav/bwcontroller.h +++ b/toxav/bwcontroller.h | |||
@@ -6,12 +6,18 @@ | |||
6 | #define C_TOXCORE_TOXAV_BWCONTROLLER_H | 6 | #define C_TOXCORE_TOXAV_BWCONTROLLER_H |
7 | 7 | ||
8 | #include "../toxcore/Messenger.h" | 8 | #include "../toxcore/Messenger.h" |
9 | #include "../toxcore/tox.h" | ||
10 | |||
11 | #ifndef TOX_DEFINED | ||
12 | #define TOX_DEFINED | ||
13 | typedef struct Tox Tox; | ||
14 | #endif /* TOX_DEFINED */ | ||
9 | 15 | ||
10 | typedef struct BWController_s BWController; | 16 | typedef struct BWController_s BWController; |
11 | 17 | ||
12 | typedef void m_cb(BWController *bwc, uint32_t friend_number, float todo, void *user_data); | 18 | typedef void m_cb(BWController *bwc, uint32_t friend_number, float todo, void *user_data); |
13 | 19 | ||
14 | BWController *bwc_new(Messenger *m, uint32_t friendnumber, m_cb *mcb, void *mcb_user_data, | 20 | BWController *bwc_new(Messenger *m, Tox *tox, uint32_t friendnumber, m_cb *mcb, void *mcb_user_data, |
15 | Mono_Time *bwc_mono_time); | 21 | Mono_Time *bwc_mono_time); |
16 | 22 | ||
17 | void bwc_kill(BWController *bwc); | 23 | void bwc_kill(BWController *bwc); |