diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-08-26 10:32:41 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-08-26 10:32:41 -0500 |
commit | 9d76cb942d54c5e8edec59d90644326219b1c4a0 (patch) | |
tree | 5f4a5474c61c923e4bbffae76ed082ae4605c452 /tdecore/tdehw/tdestoragedevice.h | |
parent | cb9c3ed914b0b1578a3fcaea3e35add08cc0bdfb (diff) | |
download | tdelibs-9d76cb942d54c5e8edec59d90644326219b1c4a0.tar.gz tdelibs-9d76cb942d54c5e8edec59d90644326219b1c4a0.zip |
Disable suspend/hibernate if $HOME is a network file system
This resolves Bug 1615
Diffstat (limited to 'tdecore/tdehw/tdestoragedevice.h')
-rw-r--r-- | tdecore/tdehw/tdestoragedevice.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdestoragedevice.h b/tdecore/tdehw/tdestoragedevice.h index 6e6270f9e..1199510a4 100644 --- a/tdecore/tdehw/tdestoragedevice.h +++ b/tdecore/tdehw/tdestoragedevice.h @@ -290,6 +290,13 @@ class TDECORE_EXPORT TDEStorageDevice : public TDEGenericDevice */ bool ejectDrive(); + /** + * @param path Full path to arbitrary file or directory + * @return TQString with type of file system containing the given file, + * or TQString::null if file system type unknown + */ + static TQString determineFileSystemType(TQString path); + protected: /** * @param a TQString with the disk or partition label, if any |