1 /*---------------------------------------------------------------------------*
2 
3   Copyright (C) Nintendo.  All rights reserved.
4 
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 
11  *---------------------------------------------------------------------------*/
12 
13 #ifndef NN_AOC_DEFINES_H_
14 #define NN_AOC_DEFINES_H_
15 
16 #include <types.h>
17 #include <nn/aoc/aoc_Errors.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 /*!
24     @addtogroup  nn_aoc_api
25     @{
26 */
27 
28 #define AOC_MAX_CONTENTS_NUM        (65536)                         //!<    Maximum number of content items.
29 #define AOC_MAX_VARIATION_NUM       (256)                           //!<    Maximum number of variations.
30 #define AOC_MAX_UNIQUE_ID_NUM       (32)                            //!<    Maximum number of unique IDs.
31 #define AOC_MAX_TITLES_NUM          (AOC_MAX_UNIQUE_ID_NUM * AOC_MAX_VARIATION_NUM) //!<    Maximum number of downloadable content titles that can be handled.
32 #define AOC_MAX_CONTENT_PATH_SIZE   (88)                            //!<    Indicates the maximum length for the path to downloadable content.
33 #define AOC_MAX_OPENABLE_TITLE_NUM  (16)                            //!<    Number of downloadable content titles that can be opened at the same time.
34 
35 #define AOC_ERROR_CODE_BASE                     (1660000U)
36 #define AOC_ERROR_CODE_UNKNOWN                  (AOC_ERROR_CODE_BASE + 9999U)
37 
38 /*!
39     @}
40 */
41 
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif // NN_AOC_DEFINES_H_
48