]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mstream.h
wxWave class for wxGTK (linux)
[wxWidgets.git] / include / wx / mstream.h
CommitLineData
32fc4afb
GL
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/////////////////////////////////////////////////////////////////////////////
34138703
JS
11#ifndef _WX_WXMMSTREAM_H__
12#define _WX_WXMMSTREAM_H__
32fc4afb 13
79c3e0e1 14#include <wx/stream.h>
32fc4afb 15
75ed1d15 16class wxMemoryInputStream: public wxInputStream {
32fc4afb 17 public:
79c3e0e1
GL
18 wxMemoryInputStream(const char *data, size_t length);
19 virtual ~wxMemoryInputStream();
79c3e0e1 20
32a4b1d5 21 char Peek();
32fc4afb
GL
22};
23
75ed1d15 24class wxMemoryOutputStream: public wxOutputStream {
32fc4afb 25 public:
79c3e0e1
GL
26 wxMemoryOutputStream(char *data = NULL, size_t length = 0);
27 virtual ~wxMemoryOutputStream();
32fc4afb
GL
28};
29
79c3e0e1 30class wxMemoryStream: public wxMemoryInputStream, public wxMemoryOutputStream {
32fc4afb 31 public:
79c3e0e1
GL
32 wxMemoryStream(char *data = NULL, size_t length = 0);
33 virtual ~wxMemoryStream();
32fc4afb
GL
34};
35
36#endif