* @brief Set the operation, flags and parent window. * @param [in] operation Operation to run (copy/move/delete/rename). * @param [in] flags Flags related to the operation. * @param [in] parentWindow Window getting notifications. */
| 146 | * @param [in] parentWindow Window getting notifications. |
| 147 | */ |
| 148 | void ShellFileOperations::SetOperation(UINT operation, FILEOP_FLAGS flags, |
| 149 | HWND parentWindow /*= nullptr*/) |
| 150 | { |
| 151 | m_function = operation; |
| 152 | m_flags = flags; |
| 153 | m_parentWindow = parentWindow; |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * @brief Run the file operation(s). |
no outgoing calls