/*---------------------------------------------------------------------------* Project: OLV File: olv_Report.h Copyright (C) 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. *---------------------------------------------------------------------------*/ //------------------------------------------------------------------------------ /** @file olv_Report.h * * @brief OLV Handles debugging information and other output by the OLV library. * */ //------------------------------------------------------------------------------ #ifndef __OLV_REPORT_H_ #define __OLV_REPORT_H_ /// nn namespace nn { /// olv namespace olv { /// Report namespace Report { /** @defgroup type Types * @{ */ /// Print callback function. /// Make it so the display strings can be passed to the application /// The application can alter the strings or save them to a file, and so on. typedef void (*fpPrintCallback)(const char*); /** @} */ /** @defgroup function Static Functions * @{ */ //------------------------------------------------------------------------------ /** * Gets the currently configured combination to output reports. * * @return Combination of ReportType constants. */ u32 GetReportTypes(); //------------------------------------------------------------------------------ /** * Sets the print callback. * * @param[in] callback Pointer to the callback function used by the application.
* Specify NULL to output on the standard output. */ void SetPrintCallback(fpPrintCallback callback); /** @} */ } } } // end of namespace #endif // __OLV_REPORT_H_