aboutsummaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authorDennis Syrovatsky <dennis@tightvnc.com>2005-10-19 07:01:41 +0000
committerDennis Syrovatsky <dennis@tightvnc.com>2005-10-19 07:01:41 +0000
commit110e7ee26d448c5c7ba88548eeb7bd964be02795 (patch)
treef502c64fae84354aaa530d5de28e249378cfe674 /rfb
parent183296ee72d4dfdb2c1c9f6c899a9058795c844f (diff)
downloadtigervnc-110e7ee26d448c5c7ba88548eeb7bd964be02795.tar.gz
tigervnc-110e7ee26d448c5c7ba88548eeb7bd964be02795.zip
Added virtual class DirManager.
Added FolderManager class to rfb_win32 project. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@351 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'rfb')
-rw-r--r--rfb/DirManager.h43
-rw-r--r--rfb/rfb.dsp8
2 files changed, 51 insertions, 0 deletions
diff --git a/rfb/DirManager.h b/rfb/DirManager.h
new file mode 100644
index 00000000..bdd27225
--- /dev/null
+++ b/rfb/DirManager.h
@@ -0,0 +1,43 @@
+/* Copyright (C) 2005 TightVNC Team. All Rights Reserved.
+ *
+ * This is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this software; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * USA.
+ *
+ * TightVNC distribution homepage on the Web: http://www.tightvnc.com/
+ *
+ */
+
+// -=- DirManager.cxx
+
+#ifndef __RFB_DIRMANAGER_H__
+#define __RFB_DIRMANAGER_H__
+
+#include <rfb/FileInfo.h>
+
+namespace rfb {
+ class DirManager {
+ public:
+ DirManager();
+ ~DirManager();
+
+ virtual bool createDir(char *pFullPath);
+ virtual bool renameDir(char *pOldName, char *pNewName);
+ virtual bool deleteDir(char *pFullPath);
+
+ virtual bool getDirInfo(char *pPath, FileInfo *pFileInfo, unsigned int dirOnly);
+ };
+}
+
+#endif // __RFB_DIRMANAGER_H__ \ No newline at end of file
diff --git a/rfb/rfb.dsp b/rfb/rfb.dsp
index c6fcd20b..4bb01894 100644
--- a/rfb/rfb.dsp
+++ b/rfb/rfb.dsp
@@ -416,6 +416,10 @@ SOURCE=.\Decoder.h
# End Source File
# Begin Source File
+SOURCE=.\DirManager.h
+# End Source File
+# Begin Source File
+
SOURCE=.\Encoder.h
# End Source File
# Begin Source File
@@ -444,6 +448,10 @@ SOURCE=.\FileWriter.h
# End Source File
# Begin Source File
+SOURCE=..\rfb_win32\FolderManager.h
+# End Source File
+# Begin Source File
+
SOURCE=.\hextileConstants.h
# End Source File
# Begin Source File