diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-06-06 07:52:12 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-06-06 07:52:12 +0000 |
commit | 5c3263289b3e10c49badd416e12075af0f2f294e (patch) | |
tree | 9d0b1f3bb167f794ec18466f94f7e8ce6b1d02fa /src/xmlfilereader.h | |
parent | 579a58106e541ef4a005eceaf4577048c69fa539 (diff) | |
download | libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.tar.gz libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.tar.bz2 libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.tar.xz libbu++-5c3263289b3e10c49badd416e12075af0f2f294e.zip |
Added comment handling to the XML system. It just discards them completely, but
later it will retain them so that even after modifying the nodes the comments
could be kept in place so they aren't destroyed if something changes.
Also added necesarry functions to the XmlDocument that lets the tests run again
and fixes some issues with multiple ownernership when transfering the contents
to a new document.
Diffstat (limited to 'src/xmlfilereader.h')
-rw-r--r-- | src/xmlfilereader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlfilereader.h b/src/xmlfilereader.h index 3e996e6..24a6e28 100644 --- a/src/xmlfilereader.h +++ b/src/xmlfilereader.h | |||
@@ -39,7 +39,7 @@ public: | |||
39 | 39 | ||
40 | private: | 40 | private: |
41 | char getChar( int nIndex = 0 ); | 41 | char getChar( int nIndex = 0 ); |
42 | void usedChar(); | 42 | void usedChar( int nAmnt = 1 ); |
43 | FILE *fh; /**< The file handle. */ | 43 | FILE *fh; /**< The file handle. */ |
44 | FlexBuf fbDataIn; /**< The input buffer. */ | 44 | FlexBuf fbDataIn; /**< The input buffer. */ |
45 | }; | 45 | }; |