Files
@ db3096599f54
Branch filter:
Location: libtransport.git/include/Swiften/Parser/PayloadParsers/InvisibleParser.h - annotation
db3096599f54
781 B
text/plain
MYSQL_RES can be valid pointer even when empty result set is returned
c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 c38103451c30 | /*
* Copyright (c) 2011 Jan Kaluza
* Licensed under the Simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <Swiften/Elements/InvisiblePayload.h>
#include <Swiften/Parser/GenericPayloadParser.h>
// This payload is NOT part of ANY XEP and it is only
// libtransport related extension.
namespace Swift {
class InvisibleParser : public GenericPayloadParser<InvisiblePayload> {
public:
InvisibleParser();
virtual void handleStartElement(const std::string& element, const std::string&, const AttributeMap& attributes);
virtual void handleEndElement(const std::string& element, const std::string&);
virtual void handleCharacterData(const std::string& data);
// private:
// int level_;
};
}
|