mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-21 16:33:43 +08:00
3966599e9d
* Revert "Revert "ui: sunnypilot offroad UI" (#511)"
This reverts commit 0e264e1b05.
* Revert "move files to sp dir"
This reverts commit c72d732259d35872fca92b90289785e7b4086140.
* 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;
|
|
};
|