MiKTeX 26.5-next
A scalable TeX distribution
Loading...
Searching...
No Matches
WebFile.h
1/* WebFile.h: -*- C++ -*-
2
3 Copyright (C) 2001-2019 Christian Schenk
4
5 This file is part of MiKTeX Package Manager.
6
7 MiKTeX Package Manager 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 MiKTeX Package Manager 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 MiKTeX Package Manager; if not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */
21
22#if !defined(FDC3B537D4484567B7577B2803B60F36)
23#define FDC3B537D4484567B7577B2803B60F36
24
25#include <miktex/Core/Session>
26
27MPM_INTERNAL_BEGIN_NAMESPACE;
28
29class MIKTEXNOVTABLE WebFile
30{
31public:
32 virtual ~WebFile() = 0;
33
34public:
35 virtual std::size_t Read(void* buffer, std::size_t n) = 0;
36
37public:
38 virtual void Close() = 0;
39};
40
41MPM_INTERNAL_END_NAMESPACE;
42
43#endif