mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 02:22:09 +08:00
f4675fc260
* Merge common/ and selfdrive/common * fix that * fix version * fix unit tests old-commit-hash: cb8885cffb313bea258c012c3026461a22bf8135
16 lines
356 B
C++
16 lines
356 B
C++
#pragma once
|
|
|
|
#include "common/util.h"
|
|
#include "selfdrive/ui/qt/api.h"
|
|
#include "selfdrive/ui/ui.h"
|
|
|
|
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;
|
|
};
|