ASPiK SDK
ivaluelistener.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 "ivalue.h"
8 
9 //------------------------------------------------------------------------
10 namespace VSTGUI {
11 namespace Standalone {
12 
13 //------------------------------------------------------------------------
18 class IValueListener : public Interface
19 {
20 public:
22  virtual void onBeginEdit (IValue& value) = 0;
24  virtual void onPerformEdit (IValue& value, IValue::Type newValue) = 0;
26  virtual void onEndEdit (IValue& value) = 0;
28  virtual void onStateChange (IValue& value) = 0;
29 };
30 
31 //------------------------------------------------------------------------
32 } // Standalone
33 } // VSTGUI
virtual void onEndEdit(IValue &value)=0
virtual void onPerformEdit(IValue &value, IValue::Type newValue)=0
Definition: ivaluelistener.h:18
double Type
Definition: ivalue.h:24
Definition: interface.h:13
virtual void onStateChange(IValue &value)=0
Definition: customcontrols.cpp:8
Definition: ivalue.h:20
virtual void onBeginEdit(IValue &value)=0