Skip to content

Commit 202b42f

Browse files
committed
Alteracoes e correções
1 parent 53af429 commit 202b42f

15 files changed

+3479
-2968
lines changed

.gitignore

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,25 @@
22
*.ex5
33
#Outros
44
experts.dat
5-
/Profiles
5+
/Profiles
6+
/Indicators
7+
/Images
8+
/Experts/Advisors
9+
/Experts/Examples
10+
11+
Include/Arrays/
12+
Include/Canvas/
13+
Include/ChartObjects/
14+
Include/Charts/
15+
Include/Controls/
16+
Include/Expert/
17+
Include/Files/
18+
Include/Graphics/
19+
Include/Indicators/
20+
Include/Math/
21+
Include/MovingAverages.mqh
22+
Include/OpenCL/
23+
Include/Strings/
24+
Include/Tools/
25+
Include/VirtualKeys.mqh
26+
Scripts/
Binary file not shown.
Binary file not shown.
256 Bytes
Binary file not shown.

Include/Object.mqh

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//+------------------------------------------------------------------+
22
//| Object.mqh |
3-
//| Copyright 2009-2013, MetaQuotes Software Corp. |
3+
//| Copyright 2009-2017, MetaQuotes Software Corp. |
44
//| http://www.mql5.com |
55
//+------------------------------------------------------------------+
66
#include "StdLibErr.mqh"
@@ -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
//+------------------------------------------------------------------+
1.05 KB
Binary file not shown.

Include/StdLibErr.mqh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//+------------------------------------------------------------------+
22
//| StdLibErr.mqh |
3-
//| Copyright 2009-2015, MetaQuotes Software Corp. |
3+
//| Copyright 2009-2017, MetaQuotes Software Corp. |
44
//| http://www.mql5.com |
55
//+------------------------------------------------------------------+
66
#define ERR_USER_INVALID_HANDLE 1

0 commit comments

Comments
 (0)