1 #pragma once 2 class CommonDialogMgr 3 { 4 public: 5 CommonDialogMgr(); 6 ~CommonDialogMgr(); 7 8 // 删除一个文件 9 static int DeleteAFile(HWND hwnd, wstring file); 10 // 删除多个文件 11 static int DeleteFiles(HWND hwnd, const vector<wstring>& files); 12 13 // 复制一个文件 14 static int CopyAFile(HWND hwnd, wstring file_from, wstring file_to); 15 // 复制多个文件 16 static int CopyFiles(HWND hwnd, const vector<wstring>& files, wstring file_to); 17 18 // 移动一个文件 19 // file_from:要移动的文件的路径 20 // file_to:移动目标的目录的位置 21 static int MoveAFile(HWND hwnd, wstring file_from, wstring file_to); 22 // 移动多个文件 23 static int MoveFiles(HWND hwnd, const vector<wstring>& files, wstring file_to); 24 25 // TODO: MessageBox 26 }; 27 28