}
/**
- * @brief Enables/disables patch-file appending (files with same filename are appended)
+ * @brief Enables/disables patch-file appending.
+ * If the file for patch already exists then the patch will be appended to
+ * existing file.
+ * @param [in] bAppendFiles If TRUE patch will be appended to existing file.
*/
-BOOL CDiffWrapper::SetAppendFiles(BOOL bAppendFiles)
+void CDiffWrapper::SetAppendFiles(BOOL bAppendFiles)
{
- BOOL temp = m_bAppendFiles;
m_bAppendFiles = bAppendFiles;
- return temp;
}
/**
void SetPatchOptions(const PATCHOPTIONS *options);
void SetDetectMovedBlocks(bool bDetectMovedBlocks);
bool GetDetectMovedBlocks() { return (m_pMovedLines != NULL); }
- BOOL SetAppendFiles(BOOL bAppendFiles);
+ void SetAppendFiles(BOOL bAppendFiles);
void SetPaths(const String &filepath1, const String &filepath2, BOOL tempPaths);
void SetAlternativePaths(const String &altPath1, const String &altPath2);
void SetCodepage(int codepage) { m_codepage = codepage; }