ASPiK SDK
iplatformoptionmenu.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 #ifndef __iplatformoptionmenu__
6 #define __iplatformoptionmenu__
7 
9 
10 #include "../vstguifwd.h"
11 
12 namespace VSTGUI {
13 
14 //-----------------------------------------------------------------------------
15 struct PlatformOptionMenuResult
16 {
17  COptionMenu* menu;
18  int32_t index;
19 };
20 
21 //-----------------------------------------------------------------------------
22 class IPlatformOptionMenu : public AtomicReferenceCounted
23 {
24 public:
25  virtual PlatformOptionMenuResult popup (COptionMenu* optionMenu) = 0;
26 };
27 
28 } // namespace
29 
31 
32 #endif // __iplatformtextedit__
Definition: customcontrols.cpp:8