]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/mstream.h
final (?) changes to the generic tree ctrl -- seems to work ok
[wxWidgets.git] / include / wx / mstream.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: mstream.h
3// Purpose: Memory stream classes
4// Author: Guilhem Lavaux
5// Modified by:
6// Created: 11/07/98
7// RCS-ID: $Id$
8// Copyright: (c) Guilhem Lavaux
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11#ifndef _WX_WXMMSTREAM_H__
12#define _WX_WXMMSTREAM_H__
13
14#include <wx/stream.h>
15
16class wxMemoryInputStream: public wxInputStream {
17 public:
18 wxMemoryInputStream(const char *data, size_t length);
19 virtual ~wxMemoryInputStream();
20
21 char Peek();
22};
23
24class wxMemoryOutputStream: public wxOutputStream {
25 public:
26 wxMemoryOutputStream(char *data = NULL, size_t length = 0);
27 virtual ~wxMemoryOutputStream();
28};
29
30class wxMemoryStream: public wxMemoryInputStream, public wxMemoryOutputStream {
31 public:
32 wxMemoryStream(char *data = NULL, size_t length = 0);
33 virtual ~wxMemoryStream();
34};
35
36#endif