Gateware Libraries  R6.5A
Beta Build
GBufferedInput.h
1 #ifndef GBUFFEREDINPUT_H
2 #define GBUFFEREDINPUT_H
3 
15 #include "../G_Core/GBroadcasting.h"
17 #include "../G_System/GKeyDefines.h"
18 
20 namespace GW
21 {
23  namespace SYSTEM
24  {
25 
27 #pragma pack(push, 1)
28 
31  {
32  int data;
33  int x;
34  int y;
35  int screenX;
36  int screenY;
37  unsigned int keyMask;
39  };
40 
41 #pragma pack(pop)
42 
50  };
51 
53  static const GUUIID GBufferedInputUUIID =
54  {
55  0x4cba9d69, 0x1b32, 0x43da,{ 0xb7, 0xb2, 0xa4, 0x21, 0xc5, 0x78, 0x18, 0xf0 }
56  };
57 
59 
62  class GBufferedInput : public CORE::GBroadcasting { };
63 
65 
79  GATEWARE_EXPORT_IMPLICIT GReturn CreateGBufferedInput(void* _windowHandle, unsigned int _handleSize, GBufferedInput** _outBufferedInput);
80  } // end SYSTEM namespace
81 } // end GW namespace
82 
83 #endif
The GBroadcasting Interface is capable of registering & deregistering GListener interfaces.
Definition: GBroadcasting.h:36
Definition: GBufferedInput.h:46
GBufferedInputEvents
GBufferedInputEvents holds the possible events that can be sent from GBufferedInput.
Definition: GBufferedInput.h:44
Definition: GBufferedInput.h:45
Ensure identical binary padding for structures on all platforms.
Definition: GBufferedInput.h:30
A Multi-threaded buffered input library.
Definition: GBufferedInput.h:62
unsigned int keyMask
Definition: GBufferedInput.h:37
int x
Definition: GBufferedInput.h:33
int screenX
Definition: GBufferedInput.h:35
int y
Definition: GBufferedInput.h:34
int screenY
Definition: GBufferedInput.h:36
Definition: GBufferedInput.h:47
Gateware Universally Unique Interface IDentifier.
Definition: GDefines.h:25
GATEWARE_EXPORT_IMPLICIT GReturn CreateGBufferedInput(void *_windowHandle, unsigned int _handleSize, GBufferedInput **_outBufferedInput)
Creates a GBufferedInput Object.
Definition: GBufferedInput.h:49
int data
Definition: GBufferedInput.h:32
The core namespace to which all Gateware interfaces/structures/defines must belong.
Definition: GAudio.h:20
GReturn
Listing of common error codes returned by Gateware functions.
Definition: GDefines.h:53
Definition: GBufferedInput.h:48