diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-22 18:57:32 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-22 18:57:32 +0300 |
commit | dd9cf5468a032542f422f6301654d87b557c7cc4 (patch) | |
tree | a3a25982738d749fc841398b4b3c82970ea97261 /plugins | |
parent | 14647b20775d365cff82808eeca6f8a547c60e20 (diff) |
massive code cleaning (fixes #653)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/HistoryStats/src/protocol.cpp | 10 | ||||
-rw-r--r-- | plugins/HistoryStats/src/protocol.h | 18 |
2 files changed, 0 insertions, 28 deletions
diff --git a/plugins/HistoryStats/src/protocol.cpp b/plugins/HistoryStats/src/protocol.cpp deleted file mode 100644 index 16374745d3..0000000000 --- a/plugins/HistoryStats/src/protocol.cpp +++ /dev/null @@ -1,10 +0,0 @@ -#include "stdafx.h"
-#include "protocol.h"
-
-#include "utils.h"
-
-ext::string Protocol::getDisplayName(const ext::a::string& protocol)
-{
- PROTOACCOUNT *pa = Proto_GetAccount(protocol.c_str());
- return (pa == NULL) ? utils::fromA(protocol) : pa->tszAccountName;
-}
diff --git a/plugins/HistoryStats/src/protocol.h b/plugins/HistoryStats/src/protocol.h deleted file mode 100644 index 2d1e6ee072..0000000000 --- a/plugins/HistoryStats/src/protocol.h +++ /dev/null @@ -1,18 +0,0 @@ -#if !defined(HISTORYSTATS_GUARD_PROTOCOL_H)
-#define HISTORYSTATS_GUARD_PROTOCOL_H
-
-#include "stdafx.h"
-#include "_consts.h"
-
-#include <set>
-
-class Protocol
-{
-public:
- static ext::string getDisplayName(const ext::a::string& protocol);
-
-public:
- ext::string displayName;
-};
-
-#endif // HISTORYSTATS_GUARD_PROTOCOL_H
\ No newline at end of file |