heavily optimized journal-cleanup - project unloading is now unbelievable fast

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1073 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-06-05 12:48:53 +00:00
parent 599d515791
commit dd06154ed6
5 changed files with 21 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
/*
* project_journal.h - declaration of class projectJournal
*
* Copyright (c) 2006-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2006-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
@@ -78,13 +78,7 @@ public:
// journalling information about the ID get's lost
void forgetAboutID( const jo_id_t _id );
void clearJournal( void )
{
m_journalEntries.clear();
m_currentJournalEntry = m_journalEntries.end();
}
void clearInvalidJournallingObjects( void );
void clearJournal( void );
journallingObject * getJournallingObject( const jo_id_t _id )
{