ASPiK SDK
iwindowcontroller.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 "iwindowlistener.h"
8 #include "../../lib/vstguifwd.h"
9 
10 //------------------------------------------------------------------------
11 namespace VSTGUI {
12 namespace Standalone {
13 
14 //------------------------------------------------------------------------
20 {
21 public:
23  virtual CPoint constraintSize (const IWindow& window, const CPoint& newSize) = 0;
25  virtual bool canClose (const IWindow& window) = 0;
27  virtual void beforeShow (IWindow& window) = 0;
29  virtual void onSetContentView (IWindow& window, const SharedPointer<CFrame>& contentView) = 0;
31  virtual IMenuBuilder* getWindowMenuBuilder (const IWindow& window) const = 0;
32 };
33 
34 //------------------------------------------------------------------------
35 } // Standalone
36 } // VSTGUI
Definition: iwindowcontroller.h:19
virtual void onSetContentView(IWindow &window, const SharedPointer< CFrame > &contentView)=0
virtual bool canClose(const IWindow &window)=0
Definition: imenubuilder.h:24
virtual void beforeShow(IWindow &window)=0
Definition: customcontrols.cpp:8
Definition: iwindow.h:142
virtual IMenuBuilder * getWindowMenuBuilder(const IWindow &window) const =0
virtual CPoint constraintSize(const IWindow &window, const CPoint &newSize)=0
Definition: iwindowlistener.h:20
Point structure.
Definition: cpoint.h:17