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,9 +1,13 @@
// 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;
#ifndef $classname_H
#define $classname_H
public class $classname extends Trigger
#include "WPILib.h"
class $classname: public Trigger
{
public:
bool get();
}
$classname();
bool Get();
};
#endif