~ubuntu-branches/ubuntu/saucy/libwpd/saucy-proposed

« back to all changes in this revision

Viewing changes to src/lib/WPXSubDocument.h

  • Committer: Package Import Robot
  • Author(s): Rene Engelhard
  • Date: 2011-11-29 23:31:13 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20111129233113-xdtwca9h0y6wdxst
Tags: 0.9.4-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
1
2
/* libwpd
2
3
 * Copyright (C) 2005 Fridrich Strba (fridrich.strba@bluewin.ch)
3
 
 *  
 
4
 *
4
5
 * This library is free software; you can redistribute it and/or
5
6
 * modify it under the terms of the GNU Library General Public
6
7
 * License as published by the Free Software Foundation; either
18
19
 * For further information visit http://libwpd.sourceforge.net
19
20
 */
20
21
 
21
 
/* "This product is not manufactured, approved, or supported by 
 
22
/* "This product is not manufactured, approved, or supported by
22
23
 * Corel Corporation or Corel Corporation Limited."
23
24
 */
24
25
 
36
37
public:
37
38
        WPXSubDocument();
38
39
        WPXSubDocument(WPXInputStream *input, WPXEncryption *encryption, const unsigned dataSize);
39
 
        WPXSubDocument(uint8_t * streamData, const unsigned dataSize);
 
40
        WPXSubDocument(uint8_t *streamData, const unsigned dataSize);
40
41
        virtual ~WPXSubDocument();
41
 
        WPXMemoryInputStream *getStream() const { return m_stream;}
 
42
        WPXMemoryInputStream *getStream() const
 
43
        {
 
44
                return m_stream;
 
45
        }
42
46
 
43
 
private:              
 
47
private:
44
48
        WPXMemoryInputStream *m_stream;
45
49
        uint8_t *m_streamData;
46
 
        WPXSubDocument(const WPXSubDocument&);
47
 
        WPXSubDocument& operator=(const WPXSubDocument&);
48
 
        
 
50
        WPXSubDocument(const WPXSubDocument &);
 
51
        WPXSubDocument &operator=(const WPXSubDocument &);
 
52
 
49
53
};
50
54
#endif /* WPXSUBDOCUMENT_H */
 
55
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */