Added name() and path() to XFile.

This commit is contained in:
gibbed
2014-01-19 00:51:08 -08:00
parent 8b27354dcb
commit 124b419b6b
7 changed files with 36 additions and 0 deletions

View File

@@ -87,6 +87,9 @@ class XFile : public XObject {
public:
virtual ~XFile();
virtual const char* name(void) = 0;
virtual const char* path(void) = 0;
size_t position() const { return position_; }
void set_position(size_t value) { position_ = value; }