ctr_Repair/trunk/ConsoleDataMigration/sources/ConsoleRestore/XmlCreator.h
N2614 b4b01e1c1e XML生成部分を分離
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@568 385bec56-5757-e545-9c3a-d8741f4650f1
2012-01-18 07:56:39 +00:00

52 lines
1.3 KiB
C++

/*---------------------------------------------------------------------------*
Project: Horizon
File: XmlCreator.h
Copyright 2009-2011 Nintendo. All rights reserved.
These coded instructions, statements, and computer programs contain
proprietary information of Nintendo of America Inc. and/or Nintendo
Company Ltd., and are protected by Federal copyright law. They may
not be disclosed to third parties or copied or duplicated in any form,
in whole or in part, without the prior written consent of Nintendo.
$Rev$
*---------------------------------------------------------------------------*/
#ifndef XMLCREATOR_H_
#define XMLCREATOR_H_
#include <string>
#if defined(__ARMCC_VERSION)
#include <nn.h>
#else
#include "test_common.h"
#endif
namespace ConsoleRestore
{
class XmlCreator
{
public:
XmlCreator();
virtual ~XmlCreator();
//! @brief プリインストール情報を取得するためのXMLを構築します
//! @param[in] deviceId デバイスID
//! @param[in] serialNo シリアルNo.
void Exec(bit64 deviceId, u8* serialNo);
//! @brief 構築したXMLデータを取得します
std::string GetData();
private:
std::string m_Xml;
};
} /* namespace ConsoleRestore */
#endif /* XMLCREATOR_H_ */