Naming and coding style convention, new linter tool. (#945)
* Makefile, Scripts: new linter * About: remove ID from IC * Firmware: remove double define for DIVC/DIVR * Scripts: check folder names too. Docker: replace syntax check with make lint. * Reformat Sources and Migrate to new file naming convention * Docker: symlink clang-format-12 to clang-format * Add coding style guide
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
#include <gui/view.h>
|
||||
#include <view_modules/generic_view_module.h>
|
||||
|
||||
class LfRfidViewTuneVM : public GenericViewModule {
|
||||
public:
|
||||
LfRfidViewTuneVM();
|
||||
~LfRfidViewTuneVM() final;
|
||||
View* get_view() final;
|
||||
void clean() final;
|
||||
|
||||
bool is_dirty();
|
||||
uint32_t get_ARR();
|
||||
uint32_t get_CCR();
|
||||
|
||||
private:
|
||||
View* view;
|
||||
void view_draw_callback(Canvas* canvas, void* _model);
|
||||
bool view_input_callback(InputEvent* event, void* context);
|
||||
|
||||
void button_up();
|
||||
void button_down();
|
||||
void button_left();
|
||||
void button_right();
|
||||
void button_ok();
|
||||
};
|
||||
Reference in New Issue
Block a user