SDL++
C++wrapperfortheSDLlibrary.

sdl::event::QuitBase Struct Reference

Base for a quit event that exposes the SDL_QuitEvent structure. More...

#include <WindowEvents.h>

Inheritance diagram for sdl::event::QuitBase:
Collaboration diagram for sdl::event::QuitBase:

List of all members.

Public Member Functions

 QuitBase (const SDL_Event *event)
const SDL_QuitEvent & get () const
const SDL_QuitEvent & get ()

Detailed Description

Base for a quit event that exposes the SDL_QuitEvent structure.

Definition at line 100 of file WindowEvents.h.


Constructor & Destructor Documentation

sdl::event::QuitBase::QuitBase ( const SDL_Event *  event) [inline]

Constructs a QuitBase from a SDL_Event structure.

Parameters:
eventThe SDL_Event structure.

Definition at line 106 of file WindowEvents.h.


Member Function Documentation

const SDL_QuitEvent& sdl::event::QuitBase::get ( ) const [inline]

Exposes the SDL_QuitEvent structure.

Returns:
The SDL_QuitEvent structure.

Definition at line 113 of file WindowEvents.h.

const SDL_QuitEvent& sdl::event::QuitBase::get ( ) [inline]

Exposes the SDL_QuitEvent structure.

Returns:
The SDL_QuitEvent structure.

Definition at line 120 of file WindowEvents.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs