| 249 | } |
| 250 | |
| 251 | void Tr2TimelineController::HandleEvent( const char* eventName ) |
| 252 | { |
| 253 | if( !m_isActive ) |
| 254 | { |
| 255 | return; |
| 256 | } |
| 257 | for( auto& handler : m_eventHandlers ) |
| 258 | { |
| 259 | if( strcmp( eventName, handler->GetName() ) == 0 ) |
| 260 | { |
| 261 | handler->Execute( *this ); |
| 262 | } |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | IRoot* Tr2TimelineController::GetOwner() const |
| 267 | { |