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