1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
#ifndef __Docker__
#define __Docker__
#include "clDockerDriver.h"
#include "clTabTogglerHelper.h"
#include "plugin.h"
class DockerOutputPane;
class Docker : public IPlugin
{
DockerOutputPane* m_outputView;
clTabTogglerHelper::Ptr_t m_tabToggler;
clDockerDriver::Ptr_t m_driver;
public:
Docker(IManager* manager);
virtual ~Docker();
//--------------------------------------------
// Abstract methods
//--------------------------------------------
virtual void CreateToolBar(clToolBar* toolbar);
/**
* @brief Add plugin menu to the "Plugins" menu item in the menu bar
*/
virtual void CreatePluginMenu(wxMenu* pluginsMenu);
/**
* @brief Unplug the plugin. Perform here any cleanup needed (e.g. unbind events, destroy allocated windows)
*/
virtual void UnPlug();
DockerOutputPane* GetTerminal() { return m_outputView; }
clDockerDriver::Ptr_t GetDriver() { return m_driver; }
};
#endif // Docker
|