0 Views
0 Downloads
0 Favorites
Facade
/**/
#include <SRC\Patterns\Structural\Facade.mqh>
/****************************************************************
Example of the Facade pattern usage. Client.
/****************************************************************/
void OnStart()
  {
   Facade facade;
   facade.OperationAB();
     {string s; for(int i=0; i<11; i++) {s+="-";} Print(s);}
   facade.OperationBC();
  }
/****************************************************************
Output:
   SubSystem A
   SubSystem B
   -----------
   SubSystem B
   SubSystem C
/**/

Comments