TF-altProjekte/Experts/Test TM/PTestC2.mqh
super.admin 84cd1a7ab0 convert
2025-05-30 16:31:33 +02:00

66 lines
2.4 KiB
MQL5

//+------------------------------------------------------------------+
//| PTestC2.mqh |
//| Thorsten Fischer Copyright 2020 |
//| https://mql5.tfsystem.de |
//+------------------------------------------------------------------+
#property copyright "Thorsten Fischer Copyright 2020"
#property link "https://mql5.tfsystem.de"
#property version "1.00"
#property strict
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
class PTestC2
{
private:
string text;
//PTestC2 *m_test;
public:
PTestC2();
~PTestC2();
//PTestC2(PTestC2 &test)
//{
// m_test=test;
//}
//virtual void init(void);
//virtual void ChartEvent(const int id,const long &lparam,const double &dparam,const string &sparam);
virtual void SetText(string aText)
{
text=aText;
}
virtual string GetText(void)
{
return(text);
}
};
PTestC2 trade;
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
PTestC2::PTestC2() : text("")
{
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
PTestC2::~PTestC2()
{
}
//+------------------------------------------------------------------+
//| |
//+------------------------------------------------------------------+
//void PTestC2::init(void)
//{
// Print(__FUNCTION__);
//}
////+------------------------------------------------------------------+
////| |
////+------------------------------------------------------------------+
//void PTestC2::ChartEvent(const int id,const long &lparam,const double &dparam,const string &sparam)
//{
// Print(__FUNCTION__);
//}
//+------------------------------------------------------------------+