Pith - wedge_linux
wedge_linux/WedgeConfig.h [0.8 kb]
Modified: 22:03:59 118 026 (15 Jul 026)
10 Days Ago
#ifndef CONFIGMANAGER_H
#define CONFIGMANAGER_H

#include <QColor>
#include <QDateTime>
#include <QString>

struct NoteData {
    bool autoStart;
    bool hideTaskbar;
    int fontSize;
    int networkRole;
    int networkRoute;
    int x, y, width, height;
    QColor bgColor;
    QColor focusColor;
    QColor highlightColor;
    QColor textColor;
    qint64 lastModified;
    qint64 lastSynced;
    QString content;
    QString fontFamily;
    QString headerFormat;
    QString ipAddress;
    QString passKey;
};

class ConfigManager {
public:
    static void saveNote(const NoteData &data);
    static NoteData loadNote();
    static void updateAutoStart(bool enable);
    static QString getConfigPath();
    static QString formatOtc(qint64 msecs);
    static void backupNote();
    static qint64 lastBackupTime();
};

#endif
Updates
Wedge - Android 126.026
Wedge - Linux 124.026
Shim - Android 117.026
Miter - 114.026
Kerf - Android 112.026
Dev
TVShow (227) 'CSA'
TVShow (228) 'APT'
TVProgram (83) 'BXT'
Miter Update(s)
Peen (Messaging)

Menu
Calendar
Project Tin (024/029)
Miter
RSS Feed
User Avatar
@vgmlr
=SUM(parts)