summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/libwpg/WPGStreamImplementation.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2007-02-25 06:54:05 +0000
committergouldtj <gouldtj@users.sourceforge.net>2007-02-25 06:54:05 +0000
commit3075cb6ff679e7efe68d17109a3608c692e44090 (patch)
tree8f33748e591f51dfdb7dd4f0dc8732b0fc602f3b /src/extension/internal/libwpg/WPGStreamImplementation.h
parentAdd flood fill tool (diff)
downloadinkscape-3075cb6ff679e7efe68d17109a3608c692e44090.tar.gz
inkscape-3075cb6ff679e7efe68d17109a3608c692e44090.zip
r14551@tres: ted | 2007-02-24 15:22:47 -0800
Merging in the latest libwpg and some code chages to make it work with everything. (bzr r2433)
Diffstat (limited to 'src/extension/internal/libwpg/WPGStreamImplementation.h')
-rw-r--r--src/extension/internal/libwpg/WPGStreamImplementation.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/extension/internal/libwpg/WPGStreamImplementation.h b/src/extension/internal/libwpg/WPGStreamImplementation.h
index d6ebdf83a..5de80cc3e 100644
--- a/src/extension/internal/libwpg/WPGStreamImplementation.h
+++ b/src/extension/internal/libwpg/WPGStreamImplementation.h
@@ -36,17 +36,17 @@ class WPGFileStreamPrivate;
class WPGFileStream: public WPGInputStream
{
public:
- WPGFileStream(const char* filename);
+ explicit WPGFileStream(const char* filename);
~WPGFileStream();
- virtual unsigned char getc();
- virtual long read(long n, char* buffer);
- virtual long tell();
- virtual void seek(long offset);
- virtual bool atEnd();
+ unsigned char getc();
+ long read(long n, char* buffer);
+ long tell();
+ void seek(long offset);
+ bool atEnd();
- virtual bool isOle();
- virtual WPGInputStream *getWPGOleStream();
+ bool isOle();
+ WPGInputStream *getWPGOleStream();
private:
WPGFileStreamPrivate* d;
@@ -62,14 +62,14 @@ public:
WPGMemoryStream(const char *data, const unsigned int dataSize);
~WPGMemoryStream();
- virtual unsigned char getc();
- virtual long read(long n, char* buffer);
- virtual long tell();
- virtual void seek(long offset);
- virtual bool atEnd();
+ unsigned char getc();
+ long read(long n, char* buffer);
+ long tell();
+ void seek(long offset);
+ bool atEnd();
- virtual bool isOle();
- virtual WPGInputStream *getWPGOleStream();
+ bool isOle();
+ WPGInputStream *getWPGOleStream();
private:
WPGMemoryStreamPrivate* d;
@@ -77,6 +77,6 @@ private:
WPGMemoryStream& operator=(const WPGMemoryStream&); // assignment is not allowed
};
-} // namespace wpg
+} // namespace libwpg
#endif // __WPGSTREAMIMPLEMENTATION_H__