00001 /* 00002 This file is part of the Opie Project 00003 Copyright (C) 2004, 2005 Holger Hans Peter Freyther <freyther@handhelds.org> 00004 Copyright (C) 2004, 2005 Michael 'mickey' Lauer <mickeyl@handhelds.org> 00005 00006 00007 =. 00008 .=l. 00009 .>+-= 00010 _;:, .> :=|. This program is free software; you can 00011 .> <`_, > . <= redistribute it and/or modify it under 00012 :`=1 )Y*s>-.-- : the terms of the GNU Library General Public 00013 .="- .-=="i, .._ License as published by the Free Software 00014 - . .-<_> .<> Foundation; either version 2 of the License, 00015 ._= =} : or (at your option) any later version. 00016 .%`+i> _;_. 00017 .i_,=:_. -<s. This program is distributed in the hope that 00018 + . -:. = it will be useful, but WITHOUT ANY WARRANTY; 00019 : .. .:, . . . without even the implied warranty of 00020 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A 00021 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU 00022 ..}^=.= = ; Library General Public License for more 00023 ++= -. .` .: details. 00024 : = ...= . :.=- 00025 -. .:....=;==+<; You should have received a copy of the GNU 00026 -_. . . )=. = Library General Public License along with 00027 -- :-=` this library; see the file COPYING.LIB. 00028 If not, write to the Free Software Foundation, 00029 Inc., 59 Temple Place - Suite 330, 00030 Boston, MA 02111-1307, USA. 00031 */ 00032 00033 #ifndef OPIE_CORE_DEVICE_ABSTRACT_MOBILE_DEVICE 00034 #define OPIE_CORE_DEVICE_ABSTRACT_MOBILE_DEVICE 00035 00036 #include "odevice.h" 00037 00038 namespace Opie { 00039 namespace Core { 00048 class OAbstractMobileDevice : public ODevice { 00049 Q_OBJECT 00050 protected: 00051 OAbstractMobileDevice(); 00052 void setAPMTimeOut( int time ); 00053 public: 00054 virtual bool suspend(); 00055 virtual bool setDisplayStatus(bool); 00056 00057 protected: 00058 int m_timeOut; 00059 }; 00060 } 00061 } 00062 00063 00064 #endif
1.4.2