-rw-r--r-- | libopie2/opiecore/device/odevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp index 62bb68a..7b99eb4 100644 --- a/libopie2/opiecore/device/odevice.cpp +++ b/libopie2/opiecore/device/odevice.cpp | |||
@@ -61,33 +61,33 @@ | |||
61 | #include <sys/ioctl.h> | 61 | #include <sys/ioctl.h> |
62 | #include <sys/time.h> | 62 | #include <sys/time.h> |
63 | #include <unistd.h> | 63 | #include <unistd.h> |
64 | #ifndef QT_NO_SOUND | 64 | #ifndef QT_NO_SOUND |
65 | #include <linux/soundcard.h> | 65 | #include <linux/soundcard.h> |
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | namespace Opie { | 68 | namespace Opie { |
69 | namespace Core { | 69 | namespace Core { |
70 | 70 | ||
71 | static const char* PATH_PROC_CPUINFO = "/proc/cpuinfo"; | 71 | static const char* PATH_PROC_CPUINFO = "/proc/cpuinfo"; |
72 | 72 | ||
73 | 73 | ||
74 | /* STATIC and common implementation */ | 74 | /* STATIC and common implementation */ |
75 | /* EXPORT */ ODistribution distributions[] = { | 75 | /* EXPORT */ ODistribution distributions[] = { |
76 | { System_Familiar, "FamiliarLinux", "/etc/familiar-version" }, | 76 | { System_Familiar, "FamiliarLinux", "/etc/familiar-version" }, |
77 | { System_OpenZaurus, "OpenZaurus", "/etc/oz_version" }, | 77 | { System_OpenZaurus, "OpenZaurus", "/etc/openzaurus-version" }, |
78 | { System_OpenEmbedded, "OpenEmbedded", "/etc/oe-version" }, | 78 | { System_OpenEmbedded, "OpenEmbedded", "/etc/oe-version" }, |
79 | { System_Unknown, "Linux", "/etc/issue" }, | 79 | { System_Unknown, "Linux", "/etc/issue" }, |
80 | }; | 80 | }; |
81 | 81 | ||
82 | 82 | ||
83 | /* EXPORT */ bool isQWS(){ | 83 | /* EXPORT */ bool isQWS(){ |
84 | return qApp ? ( qApp->type() == QApplication::GuiServer ) : false; | 84 | return qApp ? ( qApp->type() == QApplication::GuiServer ) : false; |
85 | } | 85 | } |
86 | 86 | ||
87 | /* EXPORT */ QCString makeChannel ( const char *str ){ | 87 | /* EXPORT */ QCString makeChannel ( const char *str ){ |
88 | if ( str && !::strchr ( str, '/' )) | 88 | if ( str && !::strchr ( str, '/' )) |
89 | return QCString ( "QPE/Application/" ) + str; | 89 | return QCString ( "QPE/Application/" ) + str; |
90 | else | 90 | else |
91 | return str; | 91 | return str; |
92 | } | 92 | } |
93 | 93 | ||