aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flclass.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-05-23 18:34:12 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-05-23 18:34:12 +0000
commit494d0c177cf16562157b888bd936404579016ac8 (patch)
tree045111603ca53195ea83ab573fb6df311a8d53cb /externals/grill/flext/source/flclass.h
parent0de07c1dbdc7266e510522dc878265dc07712c61 (diff)
""
svn path=/trunk/; revision=650
Diffstat (limited to 'externals/grill/flext/source/flclass.h')
-rw-r--r--externals/grill/flext/source/flclass.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flclass.h b/externals/grill/flext/source/flclass.h
index 4cbeb03f..e1b46c52 100644
--- a/externals/grill/flext/source/flclass.h
+++ b/externals/grill/flext/source/flclass.h
@@ -220,6 +220,9 @@ public:
//! Output integer (index n starts with 0)
void ToOutInt(int n,int f) const;
+ //! Output boolean (index n starts with 0)
+ void ToOutBool(int n,bool f) const { ToOutInt(n,f?1:0); }
+
//! Output symbol (index n starts with 0)
void ToOutSymbol(int n,const t_symbol *s) const;
//! Output string aka symbol (index n starts with 0)
@@ -250,6 +253,9 @@ public:
//! Output integer (index n starts with 0)
void ToQueueInt(int n,int f) const;
+ //! Output boolean (index n starts with 0)
+ void ToQueueBool(int n,bool f) const { ToQueueInt(n,f?1:0); }
+
//! Output symbol (index n starts with 0)
void ToQueueSymbol(int n,const t_symbol *s) const;
//! Output string aka symbol (to appointed outlet)
@@ -275,6 +281,9 @@ public:
//! Send integer to self (inlet n)
void ToSelfInt(int n,int f) const;
+ //! Send boolean to self (inlet n)
+ void ToSelfBool(int n,bool f) const { ToSelfInt(n,f?1:0); }
+
//! Send symbol to self (inlet n)
void ToSelfSymbol(int n,const t_symbol *s) const;
//! Send string aka symbol to self (inlet 0)
@@ -389,7 +398,7 @@ public:
@{
*/
-#if FLEXT_SYS == FLEXT_SYS_PD
+#if FLEXT_SYS == FLEXT_SYS_PD || FLEXT_SYS == FLEXT_SYS_MAX
//! Bind object to a symbol
bool Bind(const t_symbol *sym);
//! Unbind object from a symbol