~ubuntu-branches/ubuntu/karmic/codelite/karmic

« back to all changes in this revision

Viewing changes to LiteEditor/pluginmanager.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-08-15 17:42:43 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090815174243-nlb9ikgigbiybz12
Tags: 1.0.2893+dfsg-0ubuntu1
* debian/rules:
  + Tidy up get-orig-source rule
* debian/control:
  + Bump Standards-Version
  + Change Maintainer email address to @ubuntu.com
  + Drop cdbs build-dependency
* debian/copyright:
  + Update to DEP-5 format
* debian/patches/00_add-fPIC.patch:
  + Dropped, fix upstream
* Closes LP: #413992

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
        //does
103
103
        LanguageST::Get()->SetTagsManager( GetTagsManager() );
104
104
        TagsManagerST::Get()->SetLanguage( LanguageST::Get() );
105
 
        
 
105
 
106
106
#ifdef __WXGTK__
107
107
        wxString pluginsDir(_U(PLUGINS_DIR));
108
108
#else
432
432
        }
433
433
}
434
434
 
435
 
TagEntryPtr PluginManager::GetTagAtCaret(bool scoped, bool impl) 
 
435
TagEntryPtr PluginManager::GetTagAtCaret(bool scoped, bool impl)
436
436
{
437
437
    LEditor *editor = Frame::Get()->GetMainBook()->GetActiveEditor();
438
438
    if (!editor)
490
490
        ManagerST::Get()->StopBuild();
491
491
}
492
492
 
 
493
bool PluginManager::IsBuildInProgress() const
 
494
{
 
495
        return ManagerST::Get()->IsBuildInProgress();
 
496
}
 
497
 
 
498
bool PluginManager::IsBuildEndedSuccessfully() const
 
499
{
 
500
        return ManagerST::Get()->IsBuildEndedSuccessfully();
 
501
}
 
502
 
493
503
wxString PluginManager::GetProjectNameByFile(const wxString& fullPathFileName)
494
504
{
495
505
        return ManagerST::Get()->GetProjectNameByFile(fullPathFileName);
534
544
{
535
545
        return NavMgr::Get();
536
546
}
 
547
 
 
548
void PluginManager::HookProjectSettingsTab(wxNotebook* book, const wxString &projectName, const wxString &configName)
 
549
{
 
550
        std::map<wxString, IPlugin*>::iterator iter = m_plugins.begin();
 
551
        for ( ; iter != m_plugins.end(); iter++ ) {
 
552
                iter->second->HookProjectSettingsTab( book, projectName, configName );
 
553
        }
 
554
}
 
555
 
 
556
void PluginManager::UnHookProjectSettingsTab(wxNotebook* book, const wxString &projectName, const wxString &configName)
 
557
{
 
558
        std::map<wxString, IPlugin*>::iterator iter = m_plugins.begin();
 
559
        for ( ; iter != m_plugins.end(); iter++ ) {
 
560
                iter->second->UnHookProjectSettingsTab( book, projectName, configName );
 
561
        }
 
562
}
 
563