]> git.sven.stormbind.net Git - sven/vym.git/blobdiff - vymlock.h
New upstream version 2.9.22
[sven/vym.git] / vymlock.h
diff --git a/vymlock.h b/vymlock.h
deleted file mode 100644 (file)
index a78a6ab..0000000
--- a/vymlock.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef VYMLOCK_H
-#define VYMLOCK_H
-
-extern bool debug;
-
-class VymLock
-{
-public:
-    enum LockState {undefined, lockedByMyself, lockedByOther, notWritable};
-    VymLock();
-    VymLock( const QString &fn );
-    ~VymLock();
-    void init();
-    bool tryLock();
-    LockState getState();
-    bool removeLock();
-    bool releaseLock();
-    bool rename( const QString &newMapPath);
-    void setAuthor(const QString &s);
-    QString getAuthor();
-    void setHost(const QString &s);
-    QString getHost();
-    void setMapPath(const QString &s);
-    QString getMapPath();
-
-private:
-    QWidget *parent;
-    QString author;
-    QString host;
-    QString mapPath;
-    LockState state;
-};
-
-#endif