diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2006-03-07 13:18:32 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2006-03-07 13:18:32 +0000 |
commit | 88ae96ff82ddc836a822a55aef17ea66ca06ac65 (patch) | |
tree | 28b5260ba5e0f2ced6f99ea5a28f49546a3322e6 /external/Counter.cs | |
parent | 6ef70933fef8baaf373e43b3f2a02f3a6b083171 (diff) |
restructured project (MSVC can't cope well with folder/classname mismatch)
search for CLR DLLs in PD path
first steps to efficient method handling
svn path=/trunk/externals/clr/; revision=4656
Diffstat (limited to 'external/Counter.cs')
-rwxr-xr-x | external/Counter.cs | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/external/Counter.cs b/external/Counter.cs deleted file mode 100755 index da2b814..0000000 --- a/external/Counter.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; - -/// <summary> -/// Descrizione di riepilogo per Counter. -/// </summary> -public class Counter: - PureData.External -{ - public Counter(PureData.AtomList args) - { - Post("Count.ctor "+args.ToString()); - -// pd.AddInlet(x, "init", ParametersType.Float); -// pd.AddOutlet(x, ParametersType.Float); - } - - // this function MUST exist - public static void Main() - { - Post("Count.Main"); - } - -/* - public void MyBang() - { - Post("Count-BANG"); - } - - public void MyFloat(float f) - { - Post(String.Format("Count-FLOAT {0}",f)); - } -*/ - protected override void MethodBang() - { - Post("Count-BANG"); - } - - protected override void MethodFloat(float f) - { - Post("Count-FLOAT "+f.ToString()); - } - - protected override void MethodSymbol(PureData.Symbol s) - { - Post("Count-SYMBOL "+s.ToString()); - } - - protected override void MethodList(PureData.AtomList l) - { - Post("Count-LIST "+l.ToString()); - } - - /* - public void Init(float f) - { - curr = (int) f; - } - - public void SendOut() - { - pd.SendToOutlet(x, 0, new Atom(curr)); - } - - public void Sum(float f) - { - curr += (int) f; - pd.SendToOutlet(x, 0, new Atom(curr)); - } - -*/ -} |