Version 7.5.1.1, tag libreoffice-7.5.1.1
[LibreOffice.git] / include / sfx2 / xmldump.hxx
blobcd32d73299e0911f5161a6e3353bf3480ab7f619
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #pragma once
12 #include <sal/types.h>
14 typedef struct _xmlTextWriter* xmlTextWriterPtr;
16 namespace sfx2
18 /// Implemented by objects that can be dumped to xml for debugging purposes.
19 class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI SAL_LOPLUGIN_ANNOTATE("crosscast") XmlDump
21 public:
22 virtual void dumpAsXml(xmlTextWriterPtr pWriter) const = 0;
24 protected:
25 ~XmlDump() noexcept = default;
29 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */