blob: ac790653ecc6e865dabad366e0bc26284fe671f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using org.uscxml;
namespace embedding
{
class CustomExecutableContent : ExecutableContent
{
public override string getLocalName()
{
return "custom";
}
public override void enterElement(string node)
{
Console.WriteLine("enterElement " + node);
}
public override void exitElement(string node)
{
Console.WriteLine("exitElement " + node);
}
public override ExecutableContent create(Interpreter interpreter)
{
CustomExecutableContent execContent = new CustomExecutableContent();
execContent.swigCMemOwn = false;
return execContent;
}
}
}
|