Replaces numbered place marker %2 with %1.
[bitcoinplatinum.git] / src / qt / networkstyle.h
blobb78a9f5948fa80a3679308ad118ba04f0230f48b
1 // Copyright (c) 2014 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #ifndef BITCOIN_QT_NETWORKSTYLE_H
6 #define BITCOIN_QT_NETWORKSTYLE_H
8 #include <QIcon>
9 #include <QPixmap>
10 #include <QString>
12 /* Coin network-specific GUI style information */
13 class NetworkStyle
15 public:
16 /** Get style associated with provided BIP70 network id, or 0 if not known */
17 static const NetworkStyle *instantiate(const QString &networkId);
19 const QString &getAppName() const { return appName; }
20 const QIcon &getAppIcon() const { return appIcon; }
21 const QIcon &getTrayAndWindowIcon() const { return trayAndWindowIcon; }
22 const QString &getTitleAddText() const { return titleAddText; }
24 private:
25 NetworkStyle(const QString &appName, const int iconColorHueShift, const int iconColorSaturationReduction, const char *titleAddText);
27 QString appName;
28 QIcon appIcon;
29 QIcon trayAndWindowIcon;
30 QString titleAddText;
33 #endif // BITCOIN_QT_NETWORKSTYLE_H