diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-13 04:58:29 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-03-13 04:58:29 +0000 |
commit | 0e0bfeecb60ffa25d997830553685482c666b7ba (patch) | |
tree | 61add82a31f1105f99e7959ea34a91659f7f3055 /externals/grill/xsample/source/main.h | |
parent | b1d7abe2eddd5d2f1c579a6e0967e6ca7de78ecb (diff) |
fixes for Metrowerks
update for new flext callback naming
svn path=/trunk/; revision=2623
Diffstat (limited to 'externals/grill/xsample/source/main.h')
-rw-r--r-- | externals/grill/xsample/source/main.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/externals/grill/xsample/source/main.h b/externals/grill/xsample/source/main.h index aef9bb95..abb20e03 100644 --- a/externals/grill/xsample/source/main.h +++ b/externals/grill/xsample/source/main.h @@ -15,7 +15,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. #error You need at least flext version 0.5.0 #endif -#define XSAMPLE_VERSION "0.3.1pre5" +#define XSAMPLE_VERSION "0.3.1pre6" // most compilers are somehow broken - in other words - can't handle all C++ features @@ -233,9 +233,11 @@ protected: virtual void DoReset(); virtual void DoUpdate(unsigned int flags); - virtual void m_loadbang(); + virtual void CbLoadbang(); + virtual bool CbDsp(); + + virtual void m_help() = 0; virtual void m_print() = 0; - virtual void m_dsp(int n,t_sample *const *insigs,t_sample *const *outsigs); private: @@ -243,6 +245,7 @@ private: static void setup(t_classid c); + FLEXT_CALLBACK(m_help) FLEXT_CALLBACK_V(m_set) FLEXT_CALLBACK(m_print) FLEXT_CALLBACK(m_refresh) |