Program Listing for File packager.h#

Return to documentation for file (sdv_packager\packager.h)

#ifndef PACKAGER_H
#define PACKAGER_H

#include "environment.h"

class CPackager
{
public:
    CPackager(CSdvPackagerEnvironment& renv);

    bool Execute();

    int Error() const;

    const std::string& ArgError() const;

private:
    bool Pack();

    bool Unpack();

    bool Copy();

    bool Remove();

    bool CheckIntegrity();

    bool ShowContent();

    CSdvPackagerEnvironment                m_env;
    int                         m_nError = NO_ERROR;
    std::string                 m_ssArgError;
};


#endif // !defined PACKAGER_H