mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
[Bug Report Tool] Report event viewer logs (#11458)
This commit is contained in:
13
tools/BugReportTool/BugReportTool/XmlDocumentEx.h
Normal file
13
tools/BugReportTool/BugReportTool/XmlDocumentEx.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include <winrt/Windows.Data.Xml.Dom.h>
|
||||
|
||||
class XmlDocumentEx : public winrt::Windows::Data::Xml::Dom::XmlDocument
|
||||
{
|
||||
private:
|
||||
std::wstringstream stream;
|
||||
void Print(winrt::Windows::Data::Xml::Dom::IXmlNode node, int indentation);
|
||||
void PrintTagWithAttributes(winrt::Windows::Data::Xml::Dom::IXmlNode node);
|
||||
|
||||
public:
|
||||
std::wstring GetFormatedXml();
|
||||
};
|
||||
Reference in New Issue
Block a user