Added dialog for creating a new folder.
Added FTDialog::onLocalCreateFolder() and
FTDialog::onRemoteCreateFolder() methods.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@446 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/FTDialog.cxx b/vncviewer/FTDialog.cxx
index a4fd9a6..11f24a0 100644
--- a/vncviewer/FTDialog.cxx
+++ b/vncviewer/FTDialog.cxx
@@ -235,6 +235,7 @@
       case IDM_FTRENAME:
       case IDM_FTDELETE:
       case IDM_FTCANCEL:
+      case IDM_FTCREATEFOLDER:
         _this->onFTMenuCommand(LOWORD(wParam));
         return FALSE;
       }
@@ -471,6 +472,18 @@
 }
 
 void 
+FTDialog::onLocalCreateFolder()
+{
+
+}
+
+void 
+FTDialog::onRemoteCreateFolder()
+{
+
+}
+
+void 
 FTDialog::onFTCancel()
 {
   if (m_pCancelingDlg != NULL) return;
@@ -543,6 +556,16 @@
     }
     break;
   case IDM_FTCANCEL: onFTCancel(); break;
+  case IDM_FTCREATEFOLDER:
+    {
+      switch (m_FTMenuSource)
+      {
+        case IDC_FTLOCALLIST:  onLocalCreateFolder();  break;
+        case IDC_FTREMOTELIST: onRemoteCreateFolder(); break;
+        default: break;
+      }
+    }
+    break;
   default:
     break;
   }