MiKTeX 26.5-next
A scalable TeX distribution
Loading...
Searching...
No Matches
GzipStream.h
1/* miktex/Core/GzipStream.h: -*- C++ -*-
2
3 Copyright (C) 1996-2021 Christian Schenk
4
5 This file is part of the MiKTeX Core Library.
6
7 The MiKTeX Core Library is free software; you can redistribute it
8 and/or modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2, or
10 (at your option) any later version.
11
12 The MiKTeX Core Library is distributed in the hope that it will be
13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
14 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with the MiKTeX Core Library; if not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */
21
22#pragma once
23
24#if !defined(DD6C604A18B7455DBC5B455119D841D8)
25#define DD6C604A18B7455DBC5B455119D841D8
26
27#include <miktex/Core/config.h>
28
29#include <memory>
30
31#include <miktex/Util/PathName>
32
33#include "Stream.h"
34
35MIKTEX_CORE_BEGIN_NAMESPACE;
36
37class MIKTEXNOVTABLE GzipStream :
38 public Stream
39{
40public:
41 static MIKTEXCORECEEAPI(std::unique_ptr<GzipStream>) Create(const MiKTeX::Util::PathName& path, bool reading);
42};
43
44MIKTEX_CORE_END_NAMESPACE;
45
46#endif
Definition GzipStream.h:39
Definition Stream.h:41
Instances of this class can be used to store path names.
Definition PathName.h:64
@ Create
The file will be created, if it doesn't already exist.
Definition File.h:61