author | harlekin <harlekin> | 2003-04-10 21:19:45 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-10 21:19:45 (UTC) |
commit | b44d3aff66e7f520f6e0c08cb201cfe00994dbc5 (patch) (side-by-side diff) | |
tree | 3356fc83d1feb2e577fc26d58f2fd9804523fa40 | |
parent | 6f7b120de8f4b883e709386882f3fe8ed925d0da (diff) | |
download | opie-b44d3aff66e7f520f6e0c08cb201cfe00994dbc5.zip opie-b44d3aff66e7f520f6e0c08cb201cfe00994dbc5.tar.gz opie-b44d3aff66e7f520f6e0c08cb201cfe00994dbc5.tar.bz2 |
openembedded/ipaq name
-rw-r--r-- | libopie/odevice.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index cea4f35..9b2a954 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp @@ -646,4 +646,20 @@ void iPAQ::init ( ) f. close ( ); + } else { + f. setName ( "/etc/oz_version" ); + + if ( f. open ( IO_ReadOnly )) { + d-> m_systemstr = "OpenEmbedded/iPaq"; + d-> m_system = System_Familiar; + + QTextStream ts ( &f ); + ts.setDevice ( &f ); + d-> m_sysverstr = ts. readLine ( ); + f. close ( ); + } } + + + + m_leds [0] = m_leds [1] = Led_Off; |