mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-03 06:33:50 +08:00
db0642ec47
date: 2025-12-18T23:23:16 master commit: 154c2334110373950bac1c36fc6e943cb1208326
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;
|
|
};
|