aboutsummaryrefslogtreecommitdiff
path: root/Counter
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2006-03-08 17:37:25 +0000
committerThomas Grill <xovo@users.sourceforge.net>2006-03-08 17:37:25 +0000
commit6bc4123e40a3fe3ffc768fa7f943dfcda034e571 (patch)
tree9b9f4ef4d4281ec4f11e63b6d06482fe0ddf74c8 /Counter
parent0028a036b1823c364b8a3984bd6b836a15ab7b6f (diff)
some small additions, like ability to set pd class type
svn path=/trunk/externals/clr/; revision=4659
Diffstat (limited to 'Counter')
-rwxr-xr-xCounter/Counter.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Counter/Counter.cs b/Counter/Counter.cs
index b59945e..13688e5 100755
--- a/Counter/Counter.cs
+++ b/Counter/Counter.cs
@@ -23,7 +23,8 @@ public class Counter:
}
// this function MUST exist
- private static void Setup(Counter obj)
+ // returns void or ClassType
+ private static ClassType Setup(Counter obj)
{
Add(new MethodBang(obj.MyBang));
Add(new MethodFloat(obj.MyFloat));
@@ -34,6 +35,7 @@ public class Counter:
Add(new MethodAnything(obj.MyAnything));
Post("Count.Main");
+ return ClassType.Default;
}
protected virtual void MyBang()