added namespaces

This commit is contained in:
fourtf
2017-01-18 21:30:23 +01:00
parent 82338baaa3
commit 2e8dc63a95
82 changed files with 681 additions and 459 deletions
+45
View File
@@ -0,0 +1,45 @@
#ifndef APPSETTINGS_H
#define APPSETTINGS_H
#include "messages/word.h"
namespace chatterino {
namespace settings {
class Settings
{
public:
static messages::Word::Type
getWordTypeMask()
{
return wordTypeMask;
}
static bool isIgnoredEmote(const QString &emote);
static qreal
getEmoteScale()
{
return 1;
}
static qreal
getBadgeScale()
{
return 1;
}
static bool
getScaleEmotesByLineHeight()
{
return false;
}
private:
Settings();
static messages::Word::Type wordTypeMask;
};
}
}
#endif // APPSETTINGS_H