MCPcopy Create free account
hub / github.com/WinMerge/winmerge / SetOperation

Method SetOperation

Src/Common/ShellFileOperations.cpp:148–154  ·  view source on GitHub ↗

* @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. */

Source from the content-addressed store, hash-verified

146 * @param [in] parentWindow Window getting notifications.
147 */
148void 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).

Callers 3

RenameOnSameDirFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64