forked from qt-creator/qt-creator
		
	Introduced revisions in CPlusPlus::Document.
Reviewed by Thorbjørn Lindeijer
This commit is contained in:
		| @@ -103,7 +103,8 @@ private: | ||||
|  | ||||
| Document::Document(const QString &fileName) | ||||
|     : _fileName(fileName), | ||||
|       _globalNamespace(0) | ||||
|       _globalNamespace(0), | ||||
|       _revision(0) | ||||
| { | ||||
|     _control = new Control(); | ||||
|  | ||||
| @@ -130,6 +131,16 @@ Control *Document::control() const | ||||
|     return _control; | ||||
| } | ||||
|  | ||||
| unsigned Document::revision() const | ||||
| { | ||||
|     return _revision; | ||||
| } | ||||
|  | ||||
| void Document::setRevision(unsigned revision) | ||||
| { | ||||
|     _revision = revision; | ||||
| } | ||||
|  | ||||
| QString Document::fileName() const | ||||
| { | ||||
|     return _fileName; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user