summaryrefslogtreecommitdiffstats
path: root/wxbufferex.h
diff options
context:
space:
mode:
Diffstat (limited to 'wxbufferex.h')
-rw-r--r--wxbufferex.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/wxbufferex.h b/wxbufferex.h
new file mode 100644
index 0000000..7805fe9
--- /dev/null
+++ b/wxbufferex.h
@@ -0,0 +1,42 @@
1/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; version 2 of the License.
5 *
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU General Public License for more details.
10 *
11 * You should have received a copy of the GNU General Public License
12 * along with this program; if not, write to the Free Software
13 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14 *
15 * Authors: Manuel Mausz (manuel@mausz.at)
16 * Christian Raschko (c.raschko@netcore.at)
17 */
18
19#ifndef WXMEMORYBUFFEREX_H
20#define WXMEMORYBUFFEREX_H
21
22// Libraries
23#include <wx/wx.h>
24#include <wx/buffer.h>
25#include <wx/stream.h>
26
27//! wxMemoryBufferEx.
28/*! wxMemoryBufferEx.
29 */
30class wxMemoryBufferEx : public wxMemoryBuffer
31{
32 public:
33 wxMemoryBufferEx(size_t s) : wxMemoryBuffer(s)
34 {}
35
36 /*! Hex dump on the stream.
37 * \param strm Stream to write.
38 */
39 void HexDump(wxOutputStream &strm);
40};
41
42#endif