Handle self-destruct packages
[cygwin-setup.git] / nio-ie5.h
bloba1ee90de3355c6cbf36450788add3e487bcfa685
1 /*
2 * Copyright (c) 2000, Red Hat, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
12 * Written by DJ Delorie <dj@cygnus.com>
16 #ifndef SETUP_NIO_IE5_H
17 #define SETUP_NIO_IE5_H
19 #include <wininet.h>
21 class NetIO_IE5:public NetIO
23 HINTERNET connection;
24 public:
25 NetIO_IE5 (char const *url, bool cacheable);
26 ~NetIO_IE5 ();
27 virtual int ok ();
28 virtual int read (char *buf, int nbytes);
29 void flush_io ();
32 #endif /* SETUP_NIO_IE5_H */