ASPiK SDK
testabout.h
1 // This file is part of VSTGUI. It is subject to the license terms
2 // in the LICENSE file found in the top-level directory of this
3 // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
4 
5 #pragma once
6 
7 #include "vstgui/standalone/include/helpers/windowlistener.h"
8 
9 //------------------------------------------------------------------------
10 namespace MyApp {
11 
12 //------------------------------------------------------------------------
14 {
15 public:
16  static void show ();
17 
18 private:
19  using Ptr = std::unique_ptr<About>;
20  static Ptr gInstance;
21 
23  using WindowPtr = VSTGUI::Standalone::WindowPtr;
24 
25  void onClosed (const IWindow& window) override;
26 
27  WindowPtr window;
28 };
29 
30 //------------------------------------------------------------------------
31 } // MyApp
Definition: testabout.h:13
Definition: iwindow.h:142
Definition: testabout.cpp:13
Definition: windowlistener.h:18