aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flbase.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-08-15 02:32:46 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-08-15 02:32:46 +0000
commit185d9a6b38a94150edb98a9a0d3c90fe9a3bd68d (patch)
tree26c4ea60d8d2832f33c57db91bd4403e61d23353 /externals/grill/flext/source/flbase.h
parent21e2f111c461725446457f0d768a95b71c17c847 (diff)
""
svn path=/trunk/; revision=848
Diffstat (limited to 'externals/grill/flext/source/flbase.h')
-rw-r--r--externals/grill/flext/source/flbase.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flbase.h b/externals/grill/flext/source/flbase.h
index 0587f919..789a0855 100644
--- a/externals/grill/flext/source/flbase.h
+++ b/externals/grill/flext/source/flbase.h
@@ -136,7 +136,7 @@ class FLEXT_SHARE FLEXT_CLASSDEF(flext_obj):
*/
//! Get the object's canvas
- t_canvas *thisCanvas() { return m_canvas; }
+ t_canvas *thisCanvas() const { return m_canvas; }
//! Get the PD or Max/MSP object
t_sigobj *thisHdr() { return &x_obj->obj; }
@@ -205,7 +205,7 @@ class FLEXT_SHARE FLEXT_CLASSDEF(flext_obj):
protected:
//! The object header
- flext_hdr *x_obj;
+ mutable flext_hdr *x_obj;
//! Flag for attribute procession
bool procattr;
@@ -215,7 +215,7 @@ class FLEXT_SHARE FLEXT_CLASSDEF(flext_obj):
private:
//! The canvas (patcher) that the object is in
- t_canvas *m_canvas;
+ mutable t_canvas *m_canvas;
//! Flag for successful object construction
bool init_ok;
@@ -258,6 +258,9 @@ class FLEXT_SHARE FLEXT_CLASSDEF(flext_obj):
static void obj_free(flext_hdr *o);
#endif
+ //! Convert $0 or #0 symbol into appropriate value
+ static const t_symbol *GetParamSym(const t_symbol *s,t_canvas *c);
+
//! @} FLEXT_O_INTERNAL
//! @} FLEXT_OBJCLASS