HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_IDType.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: RE_IDType.h ( RE Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __RE_IDType__
12 #define __RE_IDType__
13 
14 // Platform-specific implemetation typedefs go here.
15 // At the moment we only have the Qt implementation.
16 
17 // Qt typedefs.
18 // QWidget * => window id
19 // QCursor * => cursor id
20 typedef void *RE_IDType;
21 
22 #define RE_INVALID_ID nullptr
23 inline bool REisValid(const RE_IDType id) { return id != RE_INVALID_ID; }
24 
25 
26 #endif // __RE_IDType__
void * RE_IDType
Definition: RE_IDType.h:20
#define RE_INVALID_ID
Definition: RE_IDType.h:22
bool REisValid(const RE_IDType id)
Definition: RE_IDType.h:23