www.pudn.com > zfxcengine-0.1.0.zip > ceInputSystem_SDL.cpp
/* $Id */
////////////////////////////////////////////////////////////////////////////////
//
// Module: Input
// File: ceInputSystem_SDL.cpp
// Created: 25.08.2005 02:06:59
// Author: Florian Bauer aka Florianx
//
// Last Change: 25.08.2005 02:06:59
//
////////////////////////////////////////////////////////////////////////////////
#include "Core/ceDef.h"
#include "Core/ceDebug.h"
#include "Input/InputSDL/ceInputSystem_SDL.h"
#include "Input/InputSDL/ceInputDevice_SDL.h"
using namespace ZFXCE;
Input::ceInputDevice* Input::ceInputSystemSDL::GetDevice()
{
PUSH_FUNCTION;
if(!m_Device)
m_Device = new ceInputDeviceSDL(&m_Device);
else
m_Device->AddRef();
return m_Device;
}