Adds the Trigger template and adds WPILib.h import to all templates

Change-Id: Ibaecc4802822cf4c0a4a5bf9ddc960b96e40d1e9
This commit is contained in:
Jonathan Leitschuh
2014-08-12 15:17:57 -04:00
parent 66e1f2a184
commit 9126646fef
8 changed files with 24 additions and 21 deletions

View File

@@ -1,15 +1,12 @@
// TODO: convert into C++ template
#error "This is not a C++ file. I have no idea what this is doing here, so I'm leaving this message here to let someone else clean this up"
import edu.wpi.first.wpilibj.command.Trigger;
#include "$classname.h"
/**
* New and improved C++
*/
public class $classname extends Trigger
$classname::$classname()
{
public:
bool get()
{
return false;
}
}
bool $classname::Get()
{
return false;
}