src/history.h

changeset 538
2f85d4d286e5
parent 504
6a1fa662bfc1
child 539
72ad83a67165
--- a/src/history.h	Tue Oct 22 22:14:32 2013 +0300
+++ b/src/history.h	Thu Dec 05 13:51:52 2013 +0200
@@ -16,8 +16,8 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef HISTORY_H
-#define HISTORY_H
+#ifndef LDFORGE_HISTORY_H
+#define LDFORGE_HISTORY_H
 
 #include "common.h"
 #include "ldtypes.h"
@@ -57,7 +57,7 @@
 		void close();
 		void add (AbstractHistoryEntry* entry);
 
-		inline long size() const
+		inline long getSize() const
 		{	return m_changesets.size();
 		}
 
@@ -66,7 +66,7 @@
 			return *this;
 		}
 
-		inline const Changeset& changeset (long pos) const
+		inline const Changeset& getChangeset (long pos) const
 		{	return m_changesets[pos];
 		}
 
@@ -168,6 +168,9 @@
 				dest (dest) {}
 };
 
+// =============================================================================
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+// =============================================================================
 class SwapHistory : public AbstractHistoryEntry
 {	public:
 		IMPLEMENT_HISTORY_TYPE (Swap)
@@ -178,4 +181,4 @@
 				b (b) {}
 };
 
-#endif // HISTORY_H
+#endif // LDFORGE_HISTORY_H

mercurial