Warrior_EA/Expert/ConfigLock/AIBaseConfigLockView.mqh

26 lines
1.2 KiB
MQL5
Raw Permalink Normal View History

//+------------------------------------------------------------------+
//| Warrior_EA |
//| AnimateDread |
//| |
//| CAIBaseConfigLockView - declarations only, bodies in |
//| AIBaseConfigLockViewImpl.mqh (needs the full signal declared). |
//| Same shape as BarrierHorizon\AIBaseBarrierHorizonView.mqh. |
//+------------------------------------------------------------------+
#ifndef WARRIOR_CONFIGLOCK_AIBASECONFIGLOCKVIEW_MQH
#define WARRIOR_CONFIGLOCK_AIBASECONFIGLOCKVIEW_MQH
#include "IConfigLockView.mqh"
class CExpertSignalAIBase;
class CAIBaseConfigLockView : public CConfigLockView
{
private:
CExpertSignalAIBase *m_owner;
public:
CAIBaseConfigLockView(void) : m_owner(NULL) { }
void Bind(CExpertSignalAIBase *owner) { m_owner = owner; }
virtual string Id(void) override;
virtual string ActiveFileName(void) override;
virtual string ShortId(void) override;
};
#endif // WARRIOR_CONFIGLOCK_AIBASECONFIGLOCKVIEW_MQH
//+------------------------------------------------------------------+