merge from 2.0-ongoing @ 3581
git-svn-id: svn://localhost/ardour2/branches/3.0@3711 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
using namespace ARDOUR;
|
||||
using ARDOUR::nframes_t;
|
||||
|
||||
sigc::signal<void,std::string,std::string> BasicUI::AccessAction;
|
||||
|
||||
BasicUI::BasicUI (Session& s)
|
||||
: session (&s)
|
||||
{
|
||||
@@ -51,6 +53,17 @@ BasicUI::register_thread (std::string name)
|
||||
PBD::ThreadCreated (pthread_self(), name);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
BasicUI::access_action ( std::string action_path )
|
||||
{
|
||||
int split_at = action_path.find( "/" );
|
||||
std::string group = action_path.substr( 0, split_at );
|
||||
std::string item = action_path.substr( split_at + 1 );
|
||||
|
||||
AccessAction( group, item );
|
||||
}
|
||||
|
||||
void
|
||||
BasicUI::loop_toggle ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user