Orxonox: src/ois/mac/MacHelpers.h File Reference

# MacHelpers.h File Reference

`#include "mac/MacPrereqs.h"`
`#include "OISEvents.h"`
`#include "OISKeyboard.h"`
`#include "OISMouse.h"`
`#include <Carbon/Carbon.h>`

## Namespaces

namespace | OIS

## Classes

class | OIS::Mac_KeyStackEvent
class | OIS::Mac_MouseStackEvent

## Typedefs

typedef enum Mac_EventType | OIS::MacEventType
typedef class OIS::Mac_KeyStackEvent | OIS::MacKeyStackEvent
typedef class OIS::Mac_MouseStackEvent | OIS::MacMouseStackEvent

## Enumerations

enum | OIS::Mac_EventType { OIS::MAC_KEYUP = 0, OIS::MAC_KEYDOWN = 1, OIS::MAC_KEYREPEAT, OIS::MAC_MOUSEDOWN, OIS::MAC_MOUSEUP, OIS::MAC_MOUSEMOVED, OIS::MAC_MOUSESCROLL }

## Functions

OSStatus | KeyDownWrapper (EventHandlerCallRef nextHandler, EventRef theEvent, void *callClass)
OSStatus | KeyModWrapper (EventHandlerCallRef nextHandler, EventRef theEvent, void *callClass)
OSStatus | KeyUpWrapper (EventHandlerCallRef nextHandler, EventRef theEvent, void *callClass)
OSStatus | MouseWrapper (EventHandlerCallRef nextHandler, EventRef theEvent, void *callClass)

## Function Documentation

OSStatus KeyDownWrapper | ( | EventHandlerCallRef | nextHandler,
|  | EventRef | theEvent,
|  | void * | callClass |
| ) |  |  |

References OIS::E_General, and OIS_EXCEPT.

Referenced by OIS::MacKeyboard::MacKeyboard().

OSStatus KeyModWrapper | ( | EventHandlerCallRef | nextHandler,
|  | EventRef | theEvent,
|  | void * | callClass |
| ) |  |  |

References OIS::E_General, and OIS_EXCEPT.

Referenced by OIS::MacKeyboard::MacKeyboard().

OSStatus KeyUpWrapper | ( | EventHandlerCallRef | nextHandler,
|  | EventRef | theEvent,
|  | void * | callClass |
| ) |  |  |

References OIS::E_General, and OIS_EXCEPT.

Referenced by OIS::MacKeyboard::MacKeyboard().

OSStatus MouseWrapper | ( | EventHandlerCallRef | nextHandler,
|  | EventRef | theEvent,
|  | void * | callClass |
| ) |  |  |

References OIS::E_General, and OIS_EXCEPT.

Referenced by OIS::MacMouse::MacMouse().