X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fzipper.h;h=9f3e867c773c78e6ab8c8f22c2a855c64f7902cc;hb=b249700e1da7dd6631a8b4440587f4093a2bdef1;hp=c2b40556c051b04ab9839d8bcae334a4361f5393;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;p=dcpomatic.git diff --git a/src/lib/zipper.h b/src/lib/zipper.h index c2b40556c..9f3e867c7 100644 --- a/src/lib/zipper.h +++ b/src/lib/zipper.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2020 Carl Hetherington + Copyright (C) 2020-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,21 +18,25 @@ */ -#include + #include #include -class Zipper : public boost::noncopyable + +class Zipper { public: Zipper (boost::filesystem::path file); ~Zipper (); + Zipper (Zipper const&) = delete; + Zipper& operator= (Zipper const&) = delete; + void add (std::string name, std::string content); void close (); private: struct zip* _zip; - std::vector > _store; + std::vector> _store; };