mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-19 14:33:42 +08:00
3966599e9d
* Revert "Revert "ui: sunnypilot offroad UI" (#511)" This reverts commit0e264e1b05. * Revert "move files to sp dir" This reverts commitc72d732259. * remove drive stats for now * update translation * update onboarding * remove sp onboarding for now * rearrange * remove more * shorter license
21 lines
428 B
C++
21 lines
428 B
C++
#pragma once
|
|
|
|
#include "common/util.h"
|
|
#include "selfdrive/ui/qt/api.h"
|
|
|
|
#ifdef SUNNYPILOT
|
|
#include "selfdrive/ui/sunnypilot/ui.h"
|
|
#else
|
|
#include "selfdrive/ui/ui.h"
|
|
#endif
|
|
|
|
class RequestRepeater : public HttpRequest {
|
|
public:
|
|
RequestRepeater(QObject *parent, const QString &requestURL, const QString &cacheKey = "", int period = 0, bool while_onroad=false);
|
|
|
|
private:
|
|
Params params;
|
|
QTimer *timer;
|
|
QString prevResp;
|
|
};
|