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-24 21:05:19 +0700
commit3ed5f6bda5dabbb74b0126982cb515de1a8e2558 (patch)
tree51425d2c964dba9303bc58b55ada48727bc2a4e4 /kmobile/kmobiledevice.h
parentc2ad4a056c3fecc0643b92755bc851b2fa299c49 (diff)
downloadtdepim-3ed5f6bda5dabbb74b0126982cb515de1a8e2558.tar.gz
tdepim-3ed5f6bda5dabbb74b0126982cb515de1a8e2558.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>
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;