Pulled the DebugRobot out into separate DLL

Moved the test code in the robot/test directory.


git-svn-id: svn://10.0.0.236/trunk@1591 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jevering
1998-05-14 01:05:56 +00:00
parent 936f05f547
commit 4e7c880297
8 changed files with 170 additions and 46 deletions

View File

@@ -0,0 +1,16 @@
#include <stdio.h>
#include "nsVoidArray.h"
#include "nsString.h"
extern "C" NS_EXPORT int DebugRobot(nsVoidArray * workList);
int main(int argc, char **argv)
{
nsVoidArray * gWorkList = new nsVoidArray();
int i;
for (i = 1; i < argc; i++) {
gWorkList->AppendElement(new nsString(argv[i]));
}
return DebugRobot(gWorkList);
}