Added create folder possibility.
Now the user can create folders on the local and remote sides.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@448 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/FTDialog.h b/vncviewer/FTDialog.h
index ed3afa9..e362f95 100644
--- a/vncviewer/FTDialog.h
+++ b/vncviewer/FTDialog.h
@@ -94,6 +94,7 @@
void onLocalRButton();
void onRemoteRButton();
+ bool getCreateFolderName();
void onLocalCreateFolder();
void onRemoteCreateFolder();
@@ -143,6 +144,7 @@
char m_szRemotePath[FT_FILENAME_SIZE];
char m_szLocalPathTmp[FT_FILENAME_SIZE];
char m_szRemotePathTmp[FT_FILENAME_SIZE];
+ char m_szCreateFolderName[FT_FILENAME_SIZE];
static const char szCheckDeleteQueueText[];
static const char szCheckTransferQueueText[];
@@ -192,6 +194,13 @@
CreateFolderDlg(FTDialog *pFTDlg);
~CreateFolderDlg();
+ bool onOk();
+ bool create();
+ char *getFolderName() { return m_szFolderName; }
+
+ private:
+ FTDialog *m_pFTDlg;
+ char m_szFolderName[FT_FILENAME_SIZE];
};
private: