~ubuntu-branches/ubuntu/lucid/libwpd/lucid

« back to all changes in this revision

Viewing changes to src/lib/GSFStream.h

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2007-01-11 15:15:57 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070111151557-rn1kysabqbccx3as
Tags: 0.8.8-2
run make check for stream check; build-depend on libcppunit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
        virtual const uint8_t *read(size_t numBytes, size_t &numBytesRead);
41
41
        virtual int seek(long offset, WPX_SEEK_TYPE seekType);
42
 
        virtual long tell() { return gsf_input_tell(m_input); }
43
 
        virtual bool atEOS() { return gsf_input_eof(m_input); }
 
42
        virtual long tell() { return (long)gsf_input_tell(m_input); }
 
43
        virtual bool atEOS() { return (bool)(gsf_input_eof(m_input) != 0); }
44
44
 
45
45
private:
46
46
        GsfInput *m_input;