2004-01-26 08:20:26 +00:00
|
|
|
/* ScummVM - Scumm Interpreter
|
2007-04-28 17:28:43 +00:00
|
|
|
* Copyright (C) 2001-2007 The ScummVM project
|
2004-01-26 08:20:26 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2005-10-18 01:30:26 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2004-01-26 08:20:26 +00:00
|
|
|
*
|
2006-02-11 12:47:47 +00:00
|
|
|
* $URL$
|
|
|
|
* $Id$
|
2004-01-26 08:20:26 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CEDEVICE
|
|
|
|
#define CEDEVICE
|
|
|
|
|
|
|
|
#include "common/stdafx.h"
|
|
|
|
#include "common/scummsys.h"
|
|
|
|
#include "common/system.h"
|
|
|
|
#include "common/str.h"
|
|
|
|
|
|
|
|
class CEDevice {
|
|
|
|
public:
|
2004-12-20 23:52:16 +00:00
|
|
|
static void init();
|
|
|
|
static void end();
|
|
|
|
static void wakeUp();
|
2004-01-26 08:20:26 +00:00
|
|
|
static bool hasPocketPCResolution();
|
2007-05-01 15:19:11 +00:00
|
|
|
static bool hasSquareQVGAResolution();
|
2004-01-26 08:20:26 +00:00
|
|
|
static bool hasDesktopResolution();
|
|
|
|
static bool hasWideResolution();
|
|
|
|
static bool hasSmartphoneResolution();
|
2005-10-16 22:37:17 +00:00
|
|
|
static bool isSmartphone();
|
2005-07-30 21:11:48 +00:00
|
|
|
static Common::String getKeyName(unsigned int keyCode);
|
2004-01-26 08:20:26 +00:00
|
|
|
};
|
|
|
|
|
2004-05-09 14:53:05 +00:00
|
|
|
#endif
|