forked from IQ.Lvbs/IQ.Pilot
IQ.Pilot Release Commit @ 0b96bd5
This commit is contained in:
23
iqpilot/tools/cabana/ui/app.h
Normal file
23
iqpilot/tools/cabana/ui/app.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "tools/cabana/streams/abstractstream.h"
|
||||
|
||||
|
||||
using StreamLoader = std::function<std::unique_ptr<AbstractStream>()>;
|
||||
|
||||
|
||||
|
||||
int run(std::unique_ptr<AbstractStream> stream, StreamLoader stream_loader, const std::string &dbc_file);
|
||||
|
||||
|
||||
|
||||
struct KeyEvent {
|
||||
int key;
|
||||
int mods;
|
||||
};
|
||||
std::vector<KeyEvent> takeKeyEvents();
|
||||
Reference in New Issue
Block a user