#ifndef CONFIGMANAGER_H
#define CONFIGMANAGER_H
#include <QString>
#include <QColor>
#include <QDateTime>
struct NoteData {
QString content;
int x, y, width, height;
QColor bgColor;
QColor textColor;
QColor focusColor;
QColor highlightColor;
QString fontFamily;
int fontSize;
qint64 lastModified;
bool autoStart;
bool hideTaskbar;
};
class ConfigManager {
public:
static void saveNote(const NoteData &data);
static NoteData loadNote();
static void updateAutoStart(bool enable);
static QString getConfigPath();
};
#endif