Function OpenCallback

Synopsis

#include <include/opencallback.hpp>

explicit OpenCallback(const BitArchiveHandler &handler, const std::wstring &filename=L".")

Description

Most of this code is taken from the COpenCallback class in Client7z.cpp of the 7z SDK Main changes made:

Source

Lines 37-38 in src/opencallback.cpp. Line 41 in include/opencallback.hpp.

OpenCallback::OpenCallback( const BitArchiveHandler& handler, const wstring& filename )
    : Callback( handler ), mSubArchiveMode( false ), mSubArchiveName( L"" ), mFileItem( filename ) {}





Add Discussion as Guest

Log in