Advertisement
klippa

Интерфейс, формирующий плохую абстракцию

Oct 19th, 2017
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. class Program {
  2. public:
  3.     // ...
  4.     // открытые методы
  5.     void InitializeCommandStack();
  6.     void PushCommand( Command command );
  7.     Command PopCommand();
  8.     void ShutdownCommandStack();
  9.     void InitializeReportFormatting();
  10.     void FormatReport( Report report );
  11.     void PrintReport( Report report );
  12.     void InitializeGlobalData();
  13.     void ShutdownGlobalData();
  14.     // ...
  15. private:
  16.     // ...
  17. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement