-rw-r--r-- | libopie2/opiecore/device/odevice.h | 1 | ||||
-rw-r--r-- | libopie2/opiecore/device/odevice_zaurus.cpp | 53 | ||||
-rw-r--r-- | libopie2/opiecore/device/odevice_zaurus.h | 42 |
3 files changed, 52 insertions, 44 deletions
diff --git a/libopie2/opiecore/device/odevice.h b/libopie2/opiecore/device/odevice.h index e7cd82a..5db43ff 100644 --- a/libopie2/opiecore/device/odevice.h +++ b/libopie2/opiecore/device/odevice.h | |||
@@ -84,2 +84,3 @@ enum OModel { | |||
84 | Model_Zaurus_SLC3000 = ( Model_Zaurus | 0x000007 ), | 84 | Model_Zaurus_SLC3000 = ( Model_Zaurus | 0x000007 ), |
85 | Model_Zaurus_SLC1000 = ( Model_Zaurus | 0x000008 ), | ||
85 | 86 | ||
diff --git a/libopie2/opiecore/device/odevice_zaurus.cpp b/libopie2/opiecore/device/odevice_zaurus.cpp index 8aefc13..3bd7f6e 100644 --- a/libopie2/opiecore/device/odevice_zaurus.cpp +++ b/libopie2/opiecore/device/odevice_zaurus.cpp | |||
@@ -1,25 +1,25 @@ | |||
1 | /* | 1 | /* |
2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project | 2 | This file is part of the Opie Project |
3 | Â Â Â Â Â Â Â Copyright (C) 2002,2003,2004 The Opie Team <opie-devel@handhelds.org> | 3 | Copyright (C) 2002-2005 The Opie Team <opie-devel@handhelds.org> |
4 | =. | 4 | =. |
5 | .=l. | 5 | .=l. |
6 | Â Â Â Â Â Â .>+-= | 6 | .>+-= |
7 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can | 7 | _;:, .> :=|. This program is free software; you can |
8 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under | 8 | .> <`_, > . <= redistribute it and/or modify it under |
9 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public | 9 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
10 | .="- .-=="i, Â Â .._ License as published by the Free Software | 10 | .="- .-=="i, .._ License as published by the Free Software |
11 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, | 11 | - . .-<_> .<> Foundation; either version 2 of the License, |
12 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. | 12 | ._= =} : or (at your option) any later version. |
13 | Â Â .%`+i> Â Â Â _;_. | 13 | .%`+i> _;_. |
14 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that | 14 | .i_,=:_. -<s. This program is distributed in the hope that |
15 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; | 15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
16 | Â Â : .. Â Â .:, Â Â . . . without even the implied warranty of | 16 | : .. .:, . . . without even the implied warranty of |
17 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A | 17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
18 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU | 18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
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, |
@@ -201,2 +201,5 @@ void Zaurus::init(const QString& cpu_info) | |||
201 | d->m_modelstr = "Zaurus SL-C3000"; | 201 | d->m_modelstr = "Zaurus SL-C3000"; |
202 | } else if ( model == "SHARP Akita" ) { | ||
203 | d->m_model = Model_Zaurus_SLC1000; | ||
204 | d->m_modelstr = "Zaurus SL-C1000"; | ||
202 | } else { | 205 | } else { |
@@ -213,2 +216,3 @@ void Zaurus::init(const QString& cpu_info) | |||
213 | case Model_Zaurus_SLC3000: // fallthrough | 216 | case Model_Zaurus_SLC3000: // fallthrough |
217 | case Model_Zaurus_SLC1000: // fallthrough | ||
214 | case Model_Zaurus_SLC7x0: | 218 | case Model_Zaurus_SLC7x0: |
@@ -244,2 +248,3 @@ void Zaurus::initButtons() | |||
244 | case Model_Zaurus_SLC3000: // fallthrough | 248 | case Model_Zaurus_SLC3000: // fallthrough |
249 | case Model_Zaurus_SLC1000: // fallthrough | ||
245 | case Model_Zaurus_SLC7x0: | 250 | case Model_Zaurus_SLC7x0: |
@@ -496,2 +501,3 @@ Transformation Zaurus::rotation() const | |||
496 | case Model_Zaurus_SLC3000: // fallthrough | 501 | case Model_Zaurus_SLC3000: // fallthrough |
502 | case Model_Zaurus_SLC1000: // fallthrough | ||
497 | case Model_Zaurus_SLC7x0: | 503 | case Model_Zaurus_SLC7x0: |
@@ -533,2 +539,3 @@ ODirection Zaurus::direction() const | |||
533 | case Model_Zaurus_SLC3000: // fallthrough | 539 | case Model_Zaurus_SLC3000: // fallthrough |
540 | case Model_Zaurus_SLC1000: // fallthrough | ||
534 | case Model_Zaurus_SLC7x0: { | 541 | case Model_Zaurus_SLC7x0: { |
@@ -554,3 +561,3 @@ bool Zaurus::hasHingeSensor() const | |||
554 | { | 561 | { |
555 | return d->m_model == Model_Zaurus_SLC7x0 || d->m_model == Model_Zaurus_SLC3000; | 562 | return d->m_model == Model_Zaurus_SLC7x0 || d->m_model == Model_Zaurus_SLC3000 || d->m_model == Model_Zaurus_SLC1000; |
556 | } | 563 | } |
@@ -604,3 +611,3 @@ bool Zaurus::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, | |||
604 | 611 | ||
605 | if (d->m_model!=Model_Zaurus_SLC3000 && d->m_model!=Model_Zaurus_SLC7x0) return false; | 612 | if (d->m_model != Model_Zaurus_SLC7x0 && d->m_model != Model_Zaurus_SLC3000 && d->m_model != Model_Zaurus_SLC1000) return false; |
606 | 613 | ||
diff --git a/libopie2/opiecore/device/odevice_zaurus.h b/libopie2/opiecore/device/odevice_zaurus.h index 4548e35..4250356 100644 --- a/libopie2/opiecore/device/odevice_zaurus.h +++ b/libopie2/opiecore/device/odevice_zaurus.h | |||
@@ -1,25 +1,25 @@ | |||
1 | /* | 1 | /* |
2 | Â Â Â Â Â Â Â Â This file is part of the Opie Project | 2 | This file is part of the Opie Project |
3 | Â Â Â Â Â Â Â Copyright (C) 2002,2003,2004 The Opie Team <opie-devel@handhelds.org> | 3 | Copyright (C) 2002-2005 The Opie Team <opie-devel@handhelds.org> |
4 | =. | 4 | =. |
5 | .=l. | 5 | .=l. |
6 | Â Â Â Â Â Â .>+-= | 6 | .>+-= |
7 | Â _;:, Â Â .> Â Â :=|. This program is free software; you can | 7 | _;:, .> :=|. This program is free software; you can |
8 | .> <`_, Â > Â . Â <= redistribute it and/or modify it under | 8 | .> <`_, > . <= redistribute it and/or modify it under |
9 | :`=1 )Y*s>-.-- Â : the terms of the GNU Library General Public | 9 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
10 | .="- .-=="i, Â Â .._ License as published by the Free Software | 10 | .="- .-=="i, .._ License as published by the Free Software |
11 | Â - . Â .-<_> Â Â .<> Foundation; either version 2 of the License, | 11 | - . .-<_> .<> Foundation; either version 2 of the License, |
12 | Â Â Â ._= =} Â Â Â : or (at your option) any later version. | 12 | ._= =} : or (at your option) any later version. |
13 | Â Â .%`+i> Â Â Â _;_. | 13 | .%`+i> _;_. |
14 | Â Â .i_,=:_. Â Â Â -<s. This program is distributed in the hope that | 14 | .i_,=:_. -<s. This program is distributed in the hope that |
15 | Â Â Â + Â . Â -:. Â Â Â = it will be useful, but WITHOUT ANY WARRANTY; | 15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
16 | Â Â : .. Â Â .:, Â Â . . . without even the implied warranty of | 16 | : .. .:, . . . without even the implied warranty of |
17 | Â Â =_ Â Â Â Â + Â Â =;=|` MERCHANTABILITY or FITNESS FOR A | 17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
18 | Â _.=:. Â Â Â : Â Â :=>`: PARTICULAR PURPOSE. See the GNU | 18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
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, |