• hjk's avatar
    Core: Replace ICoreListener by std::functions · e6a98f36
    hjk authored
    ICoreListener::coreAboutToClose() remains in the core,
    ICoreListener::editorAboutToClose() is handled by a new
    EditorManager::addCloseEditorListener() function.
    
    This removes the need for some boiler plate code resulting
    from the need to implement the interface in custom classes
    (DesignModeCoreListener, EditorClosingCoreListener,
    PojectEplorer::CoreListener and VcsBase::CoreListener).
    
    EditorManager::addCloseEditorListener
    
    Change-Id: Ie554c987b5455b555be6d77b77e4013639201d22
    Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
    e6a98f36
projectexplorer.cpp 138 KB