mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Add format script which invokes clang-format on the C++ source code (#41)
On Windows machines, clang-format.exe must be in the PATH environment variable.
This commit is contained in:
committed by
Peter Johnson
parent
68690643d2
commit
e14e45da76
@@ -8,14 +8,14 @@
|
||||
#ifndef __NETWORK_BUTTON_H__
|
||||
#define __NETWORK_BUTTON_H__
|
||||
|
||||
#include "Buttons/Button.h"
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include "Buttons/Button.h"
|
||||
|
||||
class NetworkButton : public Button {
|
||||
public:
|
||||
NetworkButton(const std::string &tableName, const std::string &field);
|
||||
NetworkButton(std::shared_ptr<ITable> table, const std::string &field);
|
||||
NetworkButton(const std::string& tableName, const std::string& field);
|
||||
NetworkButton(std::shared_ptr<ITable> table, const std::string& field);
|
||||
virtual ~NetworkButton() = default;
|
||||
|
||||
virtual bool Get();
|
||||
|
||||
Reference in New Issue
Block a user