--- a/history.h Sat May 04 13:52:47 2013 +0300 +++ b/history.h Sat May 04 18:31:03 2013 +0300 @@ -198,14 +198,13 @@ // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ============================================================================= namespace History { - extern std::vector<HistoryEntry*> entries; - void addEntry (HistoryEntry* entry); void undo (); void redo (); void clear (); void updateActions (); long pos (); + std::vector<HistoryEntry*>& entries (); }; #endif // HISTORY_H \ No newline at end of file