Introduced revisions in CPlusPlus::Document.

Reviewed by Thorbjørn Lindeijer
This commit is contained in:
Roberto Raggi
2009-07-14 14:23:12 +02:00
parent 2e49aaf484
commit 37a146d05c
4 changed files with 40 additions and 3 deletions

View File

@@ -60,6 +60,9 @@ public:
public:
~Document();
unsigned revision() const;
void setRevision(unsigned revision);
QString fileName() const;
QStringList includedFiles() const;
@@ -265,6 +268,7 @@ private:
QList<Block> _skippedBlocks;
QList<MacroUse> _macroUses;
QByteArray _source;
unsigned _revision;
friend class Snapshot;
};