summaryrefslogtreecommitdiffstats
path: root/kmobile/kmobiledevice.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2016-02-24 21:05:19 +0700
committerMichele Calgaro <michele.calgaro@yahoo.it>2016-02-26 22:22:06 +0700
commit3811fc1773ad7e6140d0dd3f5c6bba4524d71ef2 (patch)
treed68f1df74ecc6c5f188b0eb2f05311d8093b5584 /kmobile/kmobiledevice.h
parentb80f9a2251d5f0993a7a3438f4a083813a315024 (diff)
downloadtdepim-3811fc1773ad7e6140d0dd3f5c6bba4524d71ef2.tar.gz
tdepim-3811fc1773ad7e6140d0dd3f5c6bba4524d71ef2.zip
Fixed FTBFS in Debian/Ubuntu due to missing liblockdev1-dev package. Device locking is now done through 'flock()'
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3ed5f6bda5dabbb74b0126982cb515de1a8e2558)
Diffstat (limited to 'kmobile/kmobiledevice.h')
-rw-r--r--kmobile/kmobiledevice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kmobile/kmobiledevice.h b/kmobile/kmobiledevice.h
index d4469d358..78fc50e80 100644
--- a/kmobile/kmobiledevice.h
+++ b/kmobile/kmobiledevice.h
@@ -65,7 +65,7 @@ class TDEConfig;
class KDE_EXPORT KMobileDevice : public KLibFactory
{
Q_OBJECT
-
+
friend class KMobileView;
public:
@@ -497,6 +497,7 @@ protected:
TQString m_connectionName; // e.g. "IRDA", "USB", "Cable", "gnokii", "gammu", ...
int m_caps; // see enum Capabilities
bool m_connected;
+ int m_fd; // file descriptor used for locking/unlocking devices
private:
class KMobileDevicePrivate *d;