From b24219e6ab0ce96f0d60f7a5f122c52b2c7e40aa Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sat, 19 Jul 2003 02:41:33 +0000 Subject: "" svn path=/trunk/; revision=778 --- externals/grill/flext/source/flclass.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'externals/grill/flext/source/flclass.h') diff --git a/externals/grill/flext/source/flclass.h b/externals/grill/flext/source/flclass.h index 3667e961..6b361cc7 100644 --- a/externals/grill/flext/source/flclass.h +++ b/externals/grill/flext/source/flclass.h @@ -36,9 +36,9 @@ WARRANTIES, see the file, "license.txt," in this distribution. /*! \brief Flext message only base object - This is the base class from which typical external object derive. + This is the base class from which typical external objects derive. DSP objects should use the flext_dsp class which inherits from flext_base and - provides the needed functionality. + provides the necessary functionality. For a valid external object class you would also need FLEXT_HEADER, also if it's only a base class without instantiated objects again. @@ -49,12 +49,15 @@ WARRANTIES, see the file, "license.txt," in this distribution. */ -class FLEXT_SHARE flext_base: +class FLEXT_SHARE FLEXT_CLASSDEF(flext_base); +typedef class FLEXT_SHARE FLEXT_CLASSDEF(flext_base) flext_base; + +class FLEXT_SHARE FLEXT_CLASSDEF(flext_base): public flext_obj { - FLEXT_HEADER_S(flext_base,flext_obj,Setup) + FLEXT_HEADER_S(FLEXT_CLASSDEF(flext_base),flext_obj,Setup) - friend class flext_obj; + friend class FLEXT_SHARE FLEXT_CLASSDEF(flext_obj); /*! \defgroup FLEXT_CLASS Flext base class @{ @@ -469,8 +472,8 @@ public: protected: - flext_base(); - virtual ~flext_base(); + FLEXT_CLASSDEF(flext_base)(); + virtual ~FLEXT_CLASSDEF(flext_base)(); /*! \brief Set up inlets and outlets, method and attribute lists */ -- cgit v1.2.1