Skip to content

Commit a8af590

Browse files
committed
Alterar identação dos scripts e classes
1 parent a9c8e60 commit a8af590

File tree

14 files changed

+3507
-3506
lines changed

14 files changed

+3507
-3506
lines changed

Include/Framework/Base.mqh

-7.91 KB
Binary file not shown.

Include/Framework/Enum.mqh

-130 Bytes
Binary file not shown.

Include/Object.mqh

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,25 @@
99
//| Purpose: Base class for storing elements. |
1010
//+------------------------------------------------------------------+
1111
class CObject
12-
{
12+
{
1313
private:
14-
CObject *m_prev; // previous item of list
15-
CObject *m_next; // next item of list
14+
CObject *m_prev; // previous item of list
15+
CObject *m_next; // next item of list
1616

1717
public:
18-
CObject(void): m_prev(NULL),m_next(NULL) { }
19-
~CObject(void) { }
20-
//--- methods to access protected data
21-
CObject *Prev(void) const { return(m_prev); }
22-
void Prev(CObject *node) { m_prev=node; }
23-
CObject *Next(void) const { return(m_next); }
24-
void Next(CObject *node) { m_next=node; }
25-
//--- methods for working with files
26-
virtual bool Save(const int file_handle) { return(true); }
27-
virtual bool Load(const int file_handle) { return(true); }
28-
//--- method of identifying the object
29-
virtual int Type(void) const { return(0); }
30-
//--- method of comparing the objects
31-
virtual int Compare(const CObject *node,const int mode=0) const { return(0); }
32-
};
18+
CObject(void) : m_prev(NULL), m_next(NULL) { }
19+
~CObject(void) { }
20+
//--- methods to access protected data
21+
CObject *Prev(void) const { return(m_prev); }
22+
void Prev(CObject *node) { m_prev = node; }
23+
CObject *Next(void) const { return(m_next); }
24+
void Next(CObject *node) { m_next = node; }
25+
//--- methods for working with files
26+
virtual bool Save(const int file_handle) { return(true); }
27+
virtual bool Load(const int file_handle) { return(true); }
28+
//--- method of identifying the object
29+
virtual int Type(void) const { return(0); }
30+
//--- method of comparing the objects
31+
virtual int Compare(const CObject *node, const int mode = 0) const { return(0); }
32+
};
3333
//+------------------------------------------------------------------+
-8.87 KB
Binary file not shown.

0 commit comments

Comments
 (0)