2 // File: IOHIDLib_.h of HID Explorer
6 // Contains: Definition of the interfaces to <IOHIDLib_.c>
8 // Copyright © 2007-2009 Apple Inc., All Rights Reserved
10 // Disclaimer: IMPORTANT: This Apple software is supplied to you by
11 // Apple Inc. ("Apple") in consideration of your agreement to the
12 // following terms, and your use, installation, modification or
13 // redistribution of this Apple software constitutes acceptance of these
14 // terms. If you do not agree with these terms, please do not use,
15 // install, modify or redistribute this Apple software.
17 // In consideration of your agreement to abide by the following terms, and
18 // subject to these terms, Apple grants you a personal, non-exclusive
19 // license, under Apple's copyrights in this original Apple software (the
20 // "Apple Software"), to use, reproduce, modify and redistribute the Apple
21 // Software, with or without modifications, in source and/or binary forms;
22 // provided that if you redistribute the Apple Software in its entirety and
23 // without modifications, you must retain this notice and the following
24 // text and disclaimers in all such redistributions of the Apple Software.
25 // Neither the name, trademarks, service marks or logos of Apple Inc.
26 // may be used to endorse or promote products derived from the Apple
27 // Software without specific prior written permission from Apple. Except
28 // as expressly stated in this notice, no other rights or licenses, express
29 // or implied, are granted by Apple herein, including but not limited to
30 // any patent rights that may be infringed by your derivative works or by
31 // other works in which the Apple Software may be incorporated.
33 // The Apple Software is provided by Apple on an "AS IS" basis. APPLE
34 // MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
35 // THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS
36 // FOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND
37 // OPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
39 // IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL
40 // OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
41 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
42 // INTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,
43 // MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSED
44 // AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),
45 // STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE
46 // POSSIBILITY OF SUCH DAMAGE.
51 //*****************************************************
52 #pragma mark - includes & imports
53 //-----------------------------------------------------
54 #include <IOKit/hid/IOHIDLib.h>
56 #include "IOHIDDevice_.h"
57 #include "IOHIDElement_.h"
59 //*****************************************************
72 #if PRAGMA_STRUCT_ALIGN
73 #pragma options align=mac68k
74 #elif PRAGMA_STRUCT_PACKPUSH
76 #elif PRAGMA_STRUCT_PACK
80 //*****************************************************
81 #pragma mark - typedef's, struct's, enums, defines, etc.
82 //-----------------------------------------------------
84 //*****************************************************
85 #pragma mark - exported globals
86 //-----------------------------------------------------
88 //*****************************************************
89 #pragma mark - exported function prototypes
90 //-----------------------------------------------------
92 //*****************************************************
93 #if PRAGMA_STRUCT_ALIGN
94 #pragma options align=reset
95 #elif PRAGMA_STRUCT_PACKPUSH
97 #elif PRAGMA_STRUCT_PACK
101 #ifdef PRAGMA_IMPORT_OFF
111 #endif // __IOHIDLib___