diff base/TempDirectory.h @ 98:604bd4ee3ed4

* Add a method in System.{cpp,h} to try to establish whether a process of a given pid is running or not * Make TempDirectory store its process ID, and clean up any old temporary directories it finds that correspond to non-running processes
author Chris Cannam
date Fri, 05 May 2006 11:28:04 +0000
parents f277a171749d
children b290c43f01ec
line wrap: on
line diff
--- a/base/TempDirectory.h	Thu May 04 20:17:28 2006 +0000
+++ b/base/TempDirectory.h	Fri May 05 11:28:04 2006 +0000
@@ -70,7 +70,11 @@
 
 protected:
     TempDirectory();
+
+    QString createTempDirectoryIn(QString inDir);
     void cleanupDirectory(QString tmpDir);
+    void cleanupAbandonedDirectories(QString svDir);
+
     QString m_tmpdir;
     QMutex m_mutex;