Skip to content

Commit

Permalink
Add empty classes to command/classes creation (#1479)
Browse files Browse the repository at this point in the history
Closes #1478
  • Loading branch information
ThadHouse authored and PeterJohnson committed Dec 10, 2018
1 parent 4119622 commit 7d7af28
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 0 deletions.
15 changes: 15 additions & 0 deletions wpilibcExamples/src/main/cpp/commands/commands.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
[
{
"name": "Empty Class",
"description": "Create an empty command",
"tags": [
"class"
],
"foldername": "emptyclass",
"headers": [
"ReplaceMeEmptyClass.h"
],
"source": [
"ReplaceMeEmptyClass.cpp"
],
"replacename": "ReplaceMeEmptyClass"
},
{
"name": "Command",
"description": "Create a base command",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/

#include "ReplaceMeEmptyClass.h"

ReplaceMeEmptyClass::ReplaceMeEmptyClass() {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/

#pragma once

class ReplaceMeEmptyClass {
public:
ReplaceMeEmptyClass();
};
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
[
{
"name": "Empty Class",
"description": "Create an empty class",
"tags": [
"class"
],
"foldername": "emptyclass",
"replacename": "ReplaceMeEmptyClass"
},
{
"name": "Command",
"description": "Create a base command",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/

package edu.wpi.first.wpilibj.commands.emptyclass;

/**
* Add your docs here.
*/
public class ReplaceMeEmptyClass {
}

0 comments on commit 7d7af28

Please sign in to comment.