1 /*---------------------------------------------------------------------------* 2 Project: news 3 File: news_UserApi.h 4 Copyright (C)2010 Nintendo Co., Ltd. All rights reserved. 5 These coded instructions, statements, and computer programs contain 6 proprietary information of Nintendo of America Inc. and/or Nintendo 7 Company Ltd., and are protected by Federal copyright law. They may 8 not be disclosed to third parties or copied or duplicated in any form, 9 in whole or in part, without the prior written consent of Nintendo. 10 $Rev$ 11 *--------------------------------------------------------------------------- 12 13 14 */ 15 16 #ifndef NN_NEWS_CTR_NEWS_USER_USERAPI_H_ 17 #define NN_NEWS_CTR_NEWS_USER_USERAPI_H_ 18 19 #include <nn/fnd.h> 20 #include <nn/Result.h> 21 #include <nn/types.h> 22 23 namespace nn { 24 namespace news { 25 namespace CTR { 26 namespace user { 27 28 /* Please see man pages for details 29 30 31 */ 32 Result 33 Initialize(); 34 35 /* Please see man pages for details 36 37 38 */ 39 Result 40 Finalize(); 41 42 /* Please see man pages for details 43 44 45 46 47 48 49 50 51 52 */ 53 Result 54 PostNews( 55 const wchar_t* subject, 56 const wchar_t* message, 57 const u8* picture = NULL, 58 size_t pictureSize = 0, 59 u32 serialId = 0, 60 u32 dataVersion = 0, 61 u64 jumpParam = 0 62 ); 63 64 } 65 } 66 } 67 } 68 69 #endif /* NN_NEWS_CTR_NEWS_USER_USERAPI_H_ */ 70