Garmin Fleet Management Controller  2.19.0
CWndEventListener.h
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * HEADER NAME:
4 * CWndEventListener.h
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 #ifndef CWndEventListener_H
11 #define CWndEventListener_H
12 
13 class CWndEventListener;
14 
15 #include "EventListener.h"
16 
19 #define WM_EVENT( _event ) ( _event + WM_APP )
20 
21 //----------------------------------------------------------------------
28 //----------------------------------------------------------------------
30 {
31 public:
32  void onEvent
33  (
34  EventId aEventId,
35  uint32 aEventData,
36  void* aEventDataPtr,
37  BOOL handleNow
38  );
39 
40 protected:
41 
42 private:
43 
44 };
45 
46 #endif
void onEvent(EventId aEventId, uint32 aEventData, void *aEventDataPtr, BOOL handleNow)
Handles event callbacks by translating an EventId into a windows message.
EventId
Events generated by the FMI PC Application.
Definition: EventId.h:19
EventListener that dispatches a Windows message.
unsigned long int uint32
32-bit unsigned integer
Definition: garmin_types.h:66
Base class for objects that take action in response to an Event being posted.
Definition: EventListener.h:24