~ubuntu-branches/debian/sid/filezilla/sid

« back to all changes in this revision

Viewing changes to src/engine/iothread.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Cécile (Le_Vert)
  • Date: 2008-07-05 21:00:24 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080705210024-mvzp21zlyheschi6
Tags: 3.0.11.1-1
* wxWidgets 2.8 just entered unstable ! Upload to unstable.
* New upstream release.
* Bump Standards-Version to 3.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
        bool Create(wxFile* pFile, bool read, bool binary);
40
40
        virtual void Destroy(); // Only call that might be blocking
41
 
        
 
41
 
42
42
        // Call before first call to one of the GetNext*Buffer functions
43
43
        // This handler will receive the CIOThreadEvent events. The events
44
44
        // get triggerd iff a buffer is available after a call to the
57
57
        //               IO_Error on error
58
58
        //               IO_Success else
59
59
        int GetNextWriteBuffer(char** pBuffer, int len = BUFFERSIZE);
60
 
        
 
60
 
61
61
        bool Finalize(int len);
62
62
 
 
63
        wxString GetError();
 
64
 
63
65
protected:
64
66
        virtual ExitCode Entry();
65
67
 
 
68
        int ReadFromFile(char* pBuffer, int maxLen);
 
69
        bool WriteToFile(char* pBuffer, int len);
 
70
        bool DoWrite(const char* pBuffer, int len);
 
71
 
66
72
        wxEvtHandler* m_evtHandler;
67
73
 
68
74
        bool m_read;
84
90
        bool m_appWaiting;
85
91
 
86
92
        bool m_destroyed;
 
93
 
 
94
        bool m_wasCarriageReturn;
 
95
 
 
96
        wxChar* m_error_description;
87
97
};
88
98
 
89
99
#endif //__IOTHREAD_H__