summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/mirandahistory.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-22 18:58:01 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-22 18:58:01 +0300
commit38517d7f3b0a1dd04ee111fa721d9f4ec4c3a104 (patch)
tree8d84c985e25f99383f133ae925bce0413b90b16d /plugins/HistoryStats/src/mirandahistory.h
parentdd9cf5468a032542f422f6301654d87b557c7cc4 (diff)
ughm
Diffstat (limited to 'plugins/HistoryStats/src/mirandahistory.h')
-rw-r--r--plugins/HistoryStats/src/mirandahistory.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/HistoryStats/src/mirandahistory.h b/plugins/HistoryStats/src/mirandahistory.h
index f67540dece..4acb356f75 100644
--- a/plugins/HistoryStats/src/mirandahistory.h
+++ b/plugins/HistoryStats/src/mirandahistory.h
@@ -6,26 +6,25 @@
#include <vector>
#include "mirandacontact.h"
-#include "protocol.h"
#include "settings.h"
class MirandaHistory
: private pattern::NotCopyable<MirandaHistory>
{
private:
- typedef std::map<ext::a::string, Protocol> ProtocolMap;
+ typedef std::map<ext::a::string, ext::string> ProtocolMap;
typedef std::vector<MirandaContact*> ContactList;
private:
const Settings& m_Settings;
ProtocolMap m_Protocols;
- Protocol m_DefaultProtocol;
+ ext::string m_DefaultProtocol;
bool m_bContactsAvailable;
ContactList m_Contacts;
private:
void populateProtocols();
- const Protocol& getProtocol(const ext::a::string& protocol) const;
+ const ext::string& getProtocol(const ext::a::string& protocol) const;
void makeContactsAvailable();
void readContacts();
void mergeContacts();