summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/device/odevice_jornada.h
Unidiff
Diffstat (limited to 'libopie2/opiecore/device/odevice_jornada.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_jornada.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/libopie2/opiecore/device/odevice_jornada.h b/libopie2/opiecore/device/odevice_jornada.h
index 2a9e821..b17fa8b 100644
--- a/libopie2/opiecore/device/odevice_jornada.h
+++ b/libopie2/opiecore/device/odevice_jornada.h
@@ -19,36 +19,49 @@
19..}^=.=       =       ; Library General Public License for more 19..}^=.=       =       ; Library General Public License for more
20++=   -.     .`     .: details. 20++=   -.     .`     .: details.
21 :     =  ...= . :.=- 21 :     =  ...= . :.=-
22 -.   .:....=;==+<; You should have received a copy of the GNU 22 -.   .:....=;==+<; You should have received a copy of the GNU
23  -_. . .   )=.  = Library General Public License along with 23  -_. . .   )=.  = Library General Public License along with
24    --        :-=` this library; see the file COPYING.LIB. 24    --        :-=` this library; see the file COPYING.LIB.
25 If not, write to the Free Software Foundation, 25 If not, write to the Free Software Foundation,
26 Inc., 59 Temple Place - Suite 330, 26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA. 27 Boston, MA 02111-1307, USA.
28*/ 28*/
29 29
30#ifndef ODEVICE_JORNADA 30#ifndef ODEVICE_JORNADA
31#define ODEVICE_JORNADA 31#define ODEVICE_JORNADA
32 32
33#include <opie2/odevice.h> 33#include <opie2/odevice.h>
34 34
35namespace Opie { 35namespace Opie {
36namespace Core { 36namespace Core {
37namespace Internal { 37namespace Internal {
38class Jornada : public ODevice 38class Jornada : public ODevice
39{ 39{
40 40
41 protected: 41 protected:
42 virtual void init(const QString&); 42 virtual void init(const QString&);
43 virtual void initButtons();
43 44
44 public: 45 public:
45 virtual bool suspend ( ); 46 virtual bool suspend ( );
46 virtual bool setDisplayBrightness ( int b ); 47 virtual bool setDisplayBrightness ( int b );
47 virtual bool setDisplayStatus ( bool on); 48 virtual bool setDisplayStatus ( bool on);
48 virtual int displayBrightnessResolution() const; 49 virtual int displayBrightnessResolution() const;
49}; 50};
51
52struct j_button {
53 uint model;
54 Qt::Key code;
55 char *utext;
56 char *pix;
57 char *fpressedservice;
58 char *fpressedaction;
59 char *fheldservice;
60 char *fheldaction;
61};
62
50} 63}
51} 64}
52} 65}
53#endif 66#endif
54 67