+class BackgroundSupervisor;
+class BackgroundManagerTask {
+private:
+ BackgroundSupervisor* m_pSupervisor;
+ const std::string m_strName;
+ const int m_iPosition;
+ wxGauge* m_pGauge;
+ wxStaticText* m_pLabel;
+ wxButton* m_pButton;
+ const int m_iButtonID;
+
+public:
+ BackgroundManagerTask (BackgroundSupervisor* pSupervisor, const char* const pszName, int iPos,
+ wxGauge* pGauge, wxStaticText* pLabel, wxButton* pButton, int iButtonID)
+ : m_pSupervisor(pSupervisor), m_strName(pszName), m_iPosition(iPos), m_pGauge(pGauge),
+ m_pLabel(pLabel), m_pButton(pButton), m_iButtonID(iButtonID)
+ {}
+
+ int position() const {return m_iPosition;}
+ const std::string& name() const {return m_strName;}
+ BackgroundSupervisor* supervisor() {return m_pSupervisor;}
+
+ wxGauge* gauge() {return m_pGauge;}
+ wxStaticText* label() {return m_pLabel;}
+ wxButton* button() {return m_pButton;}
+ int buttonID() const {return m_iButtonID;}
+};
+
+