summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Disco/DiscoInfoResponder.h')
-rw-r--r--Swiften/Disco/DiscoInfoResponder.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Swiften/Disco/DiscoInfoResponder.h b/Swiften/Disco/DiscoInfoResponder.h
index 4a7d271..0dc1172 100644
--- a/Swiften/Disco/DiscoInfoResponder.h
+++ b/Swiften/Disco/DiscoInfoResponder.h
@@ -4,8 +4,7 @@
* See Documentation/Licenses/GPLv3.txt for more information.
*/
-#ifndef SWIFTEN_DiscoInfoResponder_H
-#define SWIFTEN_DiscoInfoResponder_H
+#pragma once
#include <map>
@@ -19,6 +18,7 @@ namespace Swift {
public:
DiscoInfoResponder(IQRouter* router);
+ void clearDiscoInfo();
void setDiscoInfo(const DiscoInfo& info);
void setDiscoInfo(const String& node, const DiscoInfo& info);
@@ -30,5 +30,3 @@ namespace Swift {
std::map<String, DiscoInfo> nodeInfo_;
};
}
-
-#endif