Add message /nsm/gui/session/root to ask for the absolute path of the NSM directory

This commit is contained in:
Nils 2020-03-02 18:29:27 +01:00
parent d958df0486
commit aa940df662
1 changed files with 6 additions and 0 deletions

View File

@ -2133,9 +2133,15 @@ announce_gui( const char *url, bool is_reply )
gui_is_active = true;
if ( is_reply )
{
osc_server->send( gui_addr, "/nsm/gui/gui_announce", "hi" );
osc_server->send( gui_addr, "/nsm/gui/session/root", session_root );
}
else
{
osc_server->send( gui_addr, "/nsm/gui/server_announce", "hi" );
osc_server->send( gui_addr, "/nsm/gui/session/root", session_root );
}
for ( std::list<Client*>::iterator i = client.begin();
i != client.end();