Garmin Fleet Management Controller
2.19.0
Main Page
Related Pages
Classes
Files
File List
File Members
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
//----------------------------------------------------------------------
29
class
CWndEventListener
:
public
EventListener
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
CWndEventListener::onEvent
void onEvent(EventId aEventId, uint32 aEventData, void *aEventDataPtr, BOOL handleNow)
Handles event callbacks by translating an EventId into a windows message.
Definition:
CWndEventListener.cpp:29
EventId
EventId
Events generated by the FMI PC Application.
Definition:
EventId.h:19
CWndEventListener
EventListener that dispatches a Windows message.
Definition:
CWndEventListener.h:29
uint32
unsigned long int uint32
32-bit unsigned integer
Definition:
garmin_types.h:66
EventListener
Base class for objects that take action in response to an Event being posted.
Definition:
EventListener.h:24
EventListener.h
CWndEventListener.h
Generated by
1.8.11