Tag Parser  6.2.2
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Namespaces | Functions
backuphelper.h File Reference
#include "./global.h"
#include <c++utilities/io/nativefilestream.h>
Include dependency graph for backuphelper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Media
 Contains all classes and functions of the TagInfo library.
 
 Media::BackupHelper
 Helps to create and restore backup files when rewriting files to apply changed tag information.
 

Functions

TAG_PARSER_EXPORT std::string & Media::BackupHelper::backupDirectory ()
 Returns the directory used to store backup files. More...
 
TAG_PARSER_EXPORT void Media::BackupHelper::restoreOriginalFileFromBackupFile (const std::string &originalPath, const std::string &backupPath, IoUtilities::NativeFileStream &originalStream, IoUtilities::NativeFileStream &backupStream)
 
TAG_PARSER_EXPORT void Media::BackupHelper::createBackupFile (const std::string &originalPath, std::string &backupPath, IoUtilities::NativeFileStream &originalStream, IoUtilities::NativeFileStream &backupStream)
 
TAG_PARSER_EXPORT void Media::BackupHelper::handleFailureAfterFileModified (MediaFileInfo &mediaFileInfo, const std::string &backupPath, IoUtilities::NativeFileStream &outputStream, IoUtilities::NativeFileStream &backupStream, const std::string &context="making file")