refactor classes constructor and deconstructors ...
This commit is contained in:
@@ -57,7 +57,7 @@ class XCAccount : public XCBase
|
||||
public:
|
||||
//
|
||||
// Constructor ...
|
||||
void XCAccount()
|
||||
XCAccount()
|
||||
{
|
||||
//
|
||||
mAccountInfo = new CAccountInfo();
|
||||
@@ -65,7 +65,7 @@ class XCAccount : public XCBase
|
||||
|
||||
//
|
||||
// Deconstructor ...
|
||||
void ~XCAccount()
|
||||
~XCAccount()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -376,7 +376,7 @@ class XCAccount : public XCBase
|
||||
|
||||
/**
|
||||
* Retrieve Specified Message for Report Balance ...
|
||||
*
|
||||
*
|
||||
* @return ( string )
|
||||
*/
|
||||
string GetBalanceReportMessage()
|
||||
|
||||
@@ -74,13 +74,13 @@ class XCBarAnalyser : public XCBase
|
||||
|
||||
//
|
||||
// Constructor(s) ...
|
||||
void XCBarAnalyser()
|
||||
XCBarAnalyser()
|
||||
{
|
||||
}
|
||||
|
||||
//
|
||||
// Deconstructor ...
|
||||
void ~XCBarAnalyser()
|
||||
~XCBarAnalyser()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -761,13 +761,13 @@ class XCSignalObject : public XCBaseObject
|
||||
|
||||
//
|
||||
// Constructor ...
|
||||
void XCSignalObject()
|
||||
XCSignalObject()
|
||||
{
|
||||
}
|
||||
|
||||
//
|
||||
// Deconstructor ...
|
||||
void ~XCSignalObject()
|
||||
~XCSignalObject()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -2150,7 +2150,8 @@ class XCPositionObject : public XCBaseObject
|
||||
|
||||
//
|
||||
// Change Risk Style if Risk Freed Position ...
|
||||
if (isRiskFreed) {
|
||||
if (isRiskFreed)
|
||||
{
|
||||
//
|
||||
riskStyle.fill = true;
|
||||
riskStyle.clr = rewardStyle.clr;
|
||||
|
||||
@@ -38,7 +38,7 @@ class XCBaseHelper : public XCBase
|
||||
public:
|
||||
//
|
||||
// Constructor ...
|
||||
void XCBaseHelper(
|
||||
XCBaseHelper(
|
||||
string symbol, // Trading Symbol
|
||||
ENUM_TIMEFRAMES period // Trading Time Frame
|
||||
)
|
||||
@@ -50,7 +50,7 @@ class XCBaseHelper : public XCBase
|
||||
|
||||
//
|
||||
// Deconstructor ...
|
||||
void ~XCBaseHelper()
|
||||
~XCBaseHelper()
|
||||
{
|
||||
//
|
||||
IndicatorRelease(mHandler);
|
||||
|
||||
@@ -46,11 +46,11 @@ class XCHttp : public XCBase
|
||||
public:
|
||||
//
|
||||
// Constructor ...
|
||||
void XCHttp()
|
||||
XCHttp()
|
||||
{
|
||||
XCHttp("", 10000);
|
||||
}
|
||||
void XCHttp(
|
||||
XCHttp(
|
||||
string path, // Base Folder to Store Data
|
||||
int timeout // base timeout for Requests
|
||||
)
|
||||
@@ -62,7 +62,7 @@ class XCHttp : public XCBase
|
||||
|
||||
//
|
||||
// Deconstructor ...
|
||||
void ~XCHttp()
|
||||
~XCHttp()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ class XCPOIDrawer : public XCBase
|
||||
|
||||
//
|
||||
// Constructor ...
|
||||
void XCPOIDrawer()
|
||||
XCPOIDrawer()
|
||||
{
|
||||
//
|
||||
Default();
|
||||
@@ -59,7 +59,7 @@ class XCPOIDrawer : public XCBase
|
||||
|
||||
//
|
||||
// Deconstructor ...
|
||||
void ~XCPOIDrawer()
|
||||
~XCPOIDrawer()
|
||||
{
|
||||
//
|
||||
boxBullishStyle.Clean();
|
||||
|
||||
@@ -49,7 +49,7 @@ class XCRMPanel : public XCAppDialog
|
||||
|
||||
//
|
||||
// Constructor(s) ...
|
||||
void XCRMPanel()
|
||||
XCRMPanel()
|
||||
{
|
||||
//
|
||||
Default();
|
||||
@@ -57,7 +57,7 @@ class XCRMPanel : public XCAppDialog
|
||||
|
||||
//
|
||||
// Deconstructor ...
|
||||
void ~XCRMPanel()
|
||||
~XCRMPanel()
|
||||
{
|
||||
//
|
||||
HandleRemoveObjects();
|
||||
|
||||
@@ -528,7 +528,7 @@ class XCTrade : public XCBase
|
||||
|
||||
//
|
||||
// Constructors ...
|
||||
void XCTrade(
|
||||
XCTrade(
|
||||
int slippage, // Specify Slippage
|
||||
ulong magicNumber, // Specify Magic Number
|
||||
double maxAllowedSpread = 0, // Max Allowed Spred for Opening Trades
|
||||
|
||||
Reference in New Issue
Block a user