offline avatars in mucs

This commit is contained in:
Blue 2020-04-13 22:57:23 +03:00
parent 29c7d31c89
commit 21c7d65027
16 changed files with 225 additions and 45 deletions

View file

@ -21,6 +21,7 @@
#include "enums.h"
Shared::Global* Shared::Global::instance = 0;
const std::set<QString> Shared::Global::supportedImagesExts = {"png", "jpg", "webp", "jpeg", "gif", "svg"};
Shared::Global::Global():
availability({

View file

@ -24,6 +24,8 @@
#include "exception.h"
#include <map>
#include <set>
#include <deque>
#include <QCoreApplication>
#include <QDebug>
@ -60,6 +62,8 @@ namespace Shared {
static bool supported(const QString& pluginName);
static void setSupported(const QString& pluginName, bool support);
static const std::set<QString> supportedImagesExts;
template<typename T>
static T fromInt(int src);