create a global ResourcesDB instance

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1857 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-11-29 22:30:59 +00:00
parent bb186c5b62
commit 24415d46d9
2 changed files with 16 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ class mainWindow;
class mixer;
class pianoRoll;
class projectNotes;
class ResourcesDB;
class song;
class songEditor;
class ladspa2LMMS;
@@ -96,6 +97,11 @@ public:
return( s_projectJournal );
}
static ResourcesDB * getResourcesDB( void )
{
return( s_resourcesDB );
}
// GUI
static mainWindow * getMainWindow( void )
{
@@ -168,6 +174,7 @@ private:
static mixer * s_mixer;
static fxMixer * s_fxMixer;
static song * s_song;
static ResourcesDB * s_resourcesDB;
static bbTrackContainer * s_bbTrackContainer;
static projectJournal * s_projectJournal;
static dummyTrackContainer * s_dummyTC;