Garmin Fleet Management Controller  2.19.0
EventListener.cpp
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * MODULE NAME:
4 * EventListener.cpp
5 *
6 * Copyright 2008-2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 
11 #include "stdafx.h"
12 #include "EventListener.h"
13 
14 //----------------------------------------------------------------------
18 //----------------------------------------------------------------------
20 {
21  Event::addListener( this );
22 }
23 
24 //----------------------------------------------------------------------
28 //----------------------------------------------------------------------
30 {
31  Event::removeListener( this );
32 }
EventListener()
Construct a new EventListener.
virtual ~EventListener()
Destructor.
static void addListener(EventListener *aListener)
Adds a window that is interested in receiving events.
Definition: Event.cpp:24
static void removeListener(EventListener *aListener)
Remove a target window from the interested object list.
Definition: Event.cpp:40