Files
All-MQL5-code/Include/Panel/Events/EventChartListChanged.mqh
T
Pierre8rTeam d2a192666b Commit
2018-06-23 11:25:42 +02:00

36 lines
2.1 KiB
Plaintext

//+------------------------------------------------------------------+
//| EventChartListChanged.mqh |
//| Copyright 2015, Vasiliy Sokolov. |
//| http://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2015, Vasiliy Sokolov."
#property link "http://www.mql5.com"
#include "Event.mqh"
///
///
///
class CEventChartListChanged : public CEvent
{
private:
string m_obj_name;
public:
CEventChartListChanged(string name);
string ListNameChanged(void);
};
///
/// Constructor
///
CEventChartListChanged::CEventChartListChanged(string obj_name) : CEvent(EVENT_CHART_LIST_CHANGED)
{
m_obj_name=obj_name;
}
///
/// Returns the name of the clicked object
///
string CEventChartListChanged::ListNameChanged(void)
{
return m_obj_name;
}
//+------------------------------------------------------------------+