New Non-DTK store client prototype

This commit is contained in:
RigoLigoRLC
2021-06-15 21:39:04 +08:00
parent 0ab9f4dda6
commit 479d218651
145 changed files with 3691 additions and 9935 deletions

35
inc/spkuimsg.h Normal file
View File

@@ -0,0 +1,35 @@
//
// Created by rigoligo on 2021/5/9.
//
#ifndef _SPKUIMSG_H_
#define _SPKUIMSG_H_
#pragma push_macro("signals")
#undef signals
#include <libnotify/notify.h>
#define signals DUMMY
#pragma pop_macro("signals")
#include <QString>
#include <QObject>
#include "spkui_general.h"
class SpkUiMessage : public QObject
{
Q_OBJECT
public:
static void SendDesktopNotification(QString aMsg,
const char * const aIcon = SpkUi::StoreIconName);
static void SendStoreNotification(QString);
static void SetDesktopNotifyTimeout(int ms);
private:
static NotifyNotification *_notify;
static int mTimeoutDesktop;
signals:
};
#endif //_SPKUIMSG_H_