VstPlugin: added hasEditor() method

Added inline method hasEditor() with returns true or false depending on
whether the class received a window ID from the remote plugin.
This commit is contained in:
Tobias Doerffel
2009-05-03 15:11:11 +02:00
parent 9cced2957c
commit 044d671471

View File

@@ -47,6 +47,11 @@ public:
virtual bool processMessage( const message & _m );
inline bool hasEditor( void ) const
{
return m_pluginWindowID != 0;
}
void showEditor( QWidget * _parent = NULL );
void hideEditor( void );