xref: /btstack/platform/windows/btstack_run_loop_windows.h (revision 2fca4dad957cd7b88f4657ed51e89c12615dda72)
1ea739015SMatthias Ringwald /*
2ea739015SMatthias Ringwald  * Copyright (C) 2014 BlueKitchen GmbH
3ea739015SMatthias Ringwald  *
4ea739015SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
5ea739015SMatthias Ringwald  * modification, are permitted provided that the following conditions
6ea739015SMatthias Ringwald  * are met:
7ea739015SMatthias Ringwald  *
8ea739015SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
9ea739015SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
10ea739015SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
11ea739015SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
12ea739015SMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
13ea739015SMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
14ea739015SMatthias Ringwald  *    contributors may be used to endorse or promote products derived
15ea739015SMatthias Ringwald  *    from this software without specific prior written permission.
16ea739015SMatthias Ringwald  * 4. Any redistribution, use, or modification is done solely for
17ea739015SMatthias Ringwald  *    personal benefit and not for any commercial purpose or for
18ea739015SMatthias Ringwald  *    monetary gain.
19ea739015SMatthias Ringwald  *
20ea739015SMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
21ea739015SMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22ea739015SMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23*2fca4dadSMilanka Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BLUEKITCHEN
24*2fca4dadSMilanka Ringwald  * GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25ea739015SMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26ea739015SMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
27ea739015SMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
28ea739015SMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29ea739015SMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
30ea739015SMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31ea739015SMatthias Ringwald  * SUCH DAMAGE.
32ea739015SMatthias Ringwald  *
33ea739015SMatthias Ringwald  * Please inquire about commercial licensing options at
34ea739015SMatthias Ringwald  * [email protected]
35ea739015SMatthias Ringwald  *
36ea739015SMatthias Ringwald  */
37ea739015SMatthias Ringwald 
38ea739015SMatthias Ringwald /*
39ea739015SMatthias Ringwald  *  btstack_run_loop_windows.h
40ea739015SMatthias Ringwald  *  Functionality special to the windows run loop
41ea739015SMatthias Ringwald  */
42ea739015SMatthias Ringwald 
4380e33422SMatthias Ringwald #ifndef btstack_run_loop_WINDOWS_H
4480e33422SMatthias Ringwald #define btstack_run_loop_WINDOWS_H
45ea739015SMatthias Ringwald 
46ea739015SMatthias Ringwald #include "btstack_run_loop.h"
47ea739015SMatthias Ringwald 
48ea739015SMatthias Ringwald #if defined __cplusplus
49ea739015SMatthias Ringwald extern "C" {
50ea739015SMatthias Ringwald #endif
51ea739015SMatthias Ringwald 
52ea739015SMatthias Ringwald /**
53ea739015SMatthias Ringwald  * Provide btstack_run_loop_windows instance
54ea739015SMatthias Ringwald  */
55ea739015SMatthias Ringwald const btstack_run_loop_t * btstack_run_loop_windows_get_instance(void);
56ea739015SMatthias Ringwald 
57ea739015SMatthias Ringwald /* API_END */
58ea739015SMatthias Ringwald 
59ea739015SMatthias Ringwald #if defined __cplusplus
60ea739015SMatthias Ringwald }
61ea739015SMatthias Ringwald #endif
62ea739015SMatthias Ringwald 
6380e33422SMatthias Ringwald #endif // btstack_run_loop_WINDOWS_H
64