~ubuntu-branches/ubuntu/edgy/libwpd/edgy-security

« back to all changes in this revision

Viewing changes to src/lib/WP6GeneralTextPacket.h

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2005-07-03 20:55:49 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050703205549-t8o91w9rgd7yb3qf
Tags: 0.8.2-2
* C++ ABI transition
  - rename libwpd8 / libwpd-stream8 to ...8c2 and replace/conflict (with)
    the old library. Change debian/rules, *.files and .shlibs for the new
    package names

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include "WP6PrefixDataPacket.h"
29
29
#include "WP6FileStructure.h"
30
30
#include "WP6LLListener.h"
 
31
#include "WPXMemoryStream.h"
31
32
 
32
33
class WP6GeneralTextPacket : public WP6PrefixDataPacket
33
34
{
34
35
public:
35
 
        WP6GeneralTextPacket(GsfInput *input, int id, guint32 dataOffset, guint32 dataSize);
 
36
        WP6GeneralTextPacket(WPXInputStream *input, int id, uint32_t dataOffset, uint32_t dataSize);
36
37
        virtual ~WP6GeneralTextPacket();
37
 
        virtual void _readContents(GsfInput *input);
 
38
        virtual void _readContents(WPXInputStream *input);
38
39
        virtual void parse(WP6HLListener *listener) const;
39
40
 
40
41
private:              
41
 
        guint16 m_numTextBlocks;
42
 
        guint32 m_firstTextBlockOffset;
43
 
        guint32 *m_blockSizes;
 
42
        uint16_t m_numTextBlocks;
 
43
        uint32_t m_firstTextBlockOffset;
 
44
        uint32_t *m_blockSizes;
44
45
 
45
 
        GsfInput *m_stream;
 
46
        WPXMemoryInputStream *m_stream;
46
47
        
47
48
};
48
49
#endif /* WP6GENERALTEXTPACKET_H */