added support for debug messages from remote plugin

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1896 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-12-10 00:39:52 +00:00
parent 686c3330d6
commit f17d64723a
2 changed files with 11 additions and 0 deletions

View File

@@ -483,6 +483,7 @@ enum RemoteMessageIDs
IdLoadSettingsFromString,
IdLoadSettingsFromFile,
IdLoadPresetFromFile,
IdDebugMessage,
IdUserBase = 64
} ;
@@ -818,6 +819,11 @@ public:
return m_outputCount;
}
void debugMessage( const std::string & _s )
{
sendMessage( message( IdDebugMessage ).addString( _s ) );
}
private:
void setShmKey( key_t _key, int _size );