mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-26 05:17:05 +08:00
19 lines
327 B
C++
19 lines
327 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QQmlApplicationEngine>
|
|
#include "stdafx.h"
|
|
#include "singleton.h"
|
|
|
|
class AppInfo : public QObject {
|
|
Q_OBJECT
|
|
Q_PROPERTY_AUTO(QString, version)
|
|
private:
|
|
explicit AppInfo(QObject *parent = nullptr);
|
|
|
|
public:
|
|
SINGLETON(AppInfo)
|
|
|
|
[[maybe_unused]] Q_INVOKABLE void testCrash();
|
|
};
|