diff options
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 |