]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/helpers.h
Blind fix for daily builds
[wxWidgets.git] / wxPython / src / helpers.h
index ffab121edf6bf5916f58942230c4094b89db6003..a39d69429c5b1768977ddccf2975a8860ff73d12 100644 (file)
@@ -76,44 +76,6 @@ void           wxPyEndAllowThreads(PyThreadState* state);
 void wxPyBeginBlockThreads();
 void wxPyEndBlockThreads();
 
-//----------------------------------------------------------------------
-// Handle wxInputStreams by Joerg Baumann
-// See stream.i for implementations
-
-// list class for return list of strings, e.g. readlines()
-WX_DECLARE_LIST(wxString, wxStringPtrList);
-
-
-// C++ class wxPyInputStream to act as base for python class wxInputStream
-// Use it in python like a python file object
-class wxPyInputStream {
-public:
-    // underlying wxInputStream
-    wxInputStream* wxi;
-
-public:
-    wxPyInputStream(wxInputStream* wxi_) : wxi(wxi_) {}
-    ~wxPyInputStream();
-
-    // python file object interface for input files (most of it)
-    void close();
-    void flush();
-    bool eof();
-    wxString* read(int size=-1);
-    wxString* readline(int size=-1);
-    wxStringPtrList* readlines(int sizehint=-1);
-    void seek(int offset, int whence=0);
-    int tell();
-    /*
-      bool isatty();
-      int fileno();
-      void truncate(int size=-1);
-      void write(wxString data);
-      void writelines(wxStringPtrList);
-    */
-};
-
-
 //----------------------------------------------------------------------
 // These are helpers used by the typemaps