summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Parser/XMPPParserClient.h')
-rw-r--r--Swiften/Parser/XMPPParserClient.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Swiften/Parser/XMPPParserClient.h b/Swiften/Parser/XMPPParserClient.h
index fb81df8..b8f8e46 100644
--- a/Swiften/Parser/XMPPParserClient.h
+++ b/Swiften/Parser/XMPPParserClient.h
@@ -1,5 +1,4 @@
-#ifndef SWIFTEN_XMPPPARSERCLIENT_H
-#define SWIFTEN_XMPPPARSERCLIENT_H
+#pragma once
#include <boost/shared_ptr.hpp>
@@ -7,15 +6,14 @@
namespace Swift {
class String;
+ class ProtocolHeader;
class XMPPParserClient {
public:
virtual ~XMPPParserClient();
- virtual void handleStreamStart(const String& from, const String& to, const String& id) = 0;
+ virtual void handleStreamStart(const ProtocolHeader&) = 0;
virtual void handleElement(boost::shared_ptr<Element>) = 0;
virtual void handleStreamEnd() = 0;
};
}
-
-#endif