NDEVR
API Documentation
CookieManager.h
1#pragma once
2#ifndef _WIN32
3#include <qglobal.h>
4#endif
5#ifdef Q_OS_WASM
6#include <QObject>
7namespace NDEVR
8{
9 class String;
10 class File;
15 class CookieManager : public QObject
16 {
17 public:
22 explicit CookieManager(QObject *parent = nullptr);
23
29 bool hasFile(const File& file);
35 bool saveFile(const File& file);
41 bool openFile(const File& file);
47 bool removeFile(const File& file);
54 bool moveFile(const File& from, const File& to);
60 QByteArray loadCache(const String& name);
66 void saveCache(const String& name, const QByteArray& data);
67 };
68}
69#endif
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
Definition File.h:53
The core String class for the NDEVR API.
Definition String.h:95
The primary namespace for the NDEVR SDK.