implemented infinite backoff (fixes #311767)
[dasher.git] / Src / DasherCore / ControlManagerFactory.h
blobd4db26bd48c1505ced82c62aded5f37463694ccb
1 #ifndef __controlmanagerfactory_h__
2 #define __controlmanagerfactory_h__
4 #include "NodeManagerFactory.h"
5 #include "LanguageModelling/LanguageModel.h"
7 namespace Dasher {
8 class CControlManager;
11 namespace Dasher {
13 class CDasherModel;
15 class CControlManagerFactory : public CNodeManagerFactory {
16 public:
17 CControlManagerFactory(CDasherModel *pModel, CLanguageModel *pLanguageModel);
18 ~CControlManagerFactory();
20 virtual CDasherNode *GetRoot(CDasherNode *pParent, int iLower, int iUpper, void *pUserData);
22 // Control mode stuff
23 void RegisterNode( int iID, const std::string &strLabel, int iColour );
24 void ConnectNode(int iChild, int iParent, int iAfter);
26 private:
27 CControlManager *m_pControlManager;
32 #endif