1 /*---------------------------------------------------------------------------* 2 Project: Cafe 3 File: sysapp_eshop.h 4 5 Copyright (C) 2012 Nintendo. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 *---------------------------------------------------------------------------*/ 14 15 #ifndef __SYSAPP_ESHOP_H__ 16 #define __SYSAPP_ESHOP_H__ 17 18 #include <cafe/sysapp.h> 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif 23 24 /*---------------------------------------------------------------------------*/ 25 /** 26 */ 27 typedef struct SysEShopArgsIn 28 { 29 SysStandardArgsIn stdIn; 30 31 const char * cp_Query; 32 u32 querySize; 33 } SysEShopArgsIn; 34 /*---------------------------------------------------------------------------*/ 35 /** 36 * Switch to the eShop. 37 * 38 * @retval 0 Indicates success. 39 * @retval <0 Indicates invalid arguments. 40 */ 41 s32 SYSSwitchToEShop( const SysEShopArgsIn * cp_Args ); 42 //----------------------------------------------------------------------------- 43 /*---------------------------------------------------------------------------*/ 44 /** 45 * Switch to the downloadable content page in the eShop. 46 */ 47 s32 SYSSwitchToEShopAocList( const SysStandardArgsIn * cp_ArgsIn ); 48 /*---------------------------------------------------------------------------*/ 49 /** 50 * Switch to the subscription list page in the eShop. 51 */ 52 s32 SYSSwitchToEShopTicketList( const SysStandardArgsIn * cp_ArgsIn ); 53 54 #ifdef __cplusplus 55 } 56 #endif 57 58 #endif 59