Nintendo 3DS Miiverse Library  1.3.2
(OLV/Olive)
olv_Const.h File Reference

These are constant declarations for the OLV library. More...

Go to the source code of this file.

Namespaces

namespace  nn
 nn
 
namespace  nn::olv
 olv
 

Enumerations

enum  CommonDataType { ,
  COMMON_DATA_TYPE_BODY_TEXT,
  COMMON_DATA_TYPE_BODY_TEXT_MAX_LENGTH,
  COMMON_DATA_TYPE_BODY_MEMO,
  COMMON_DATA_TYPE_FEELING,
  COMMON_DATA_TYPE_APP_DATA,
  COMMON_DATA_TYPE_EXTERNAL_IMAGE,
  COMMON_DATA_TYPE_EXTERNAL_THUMBNAIL_IMAGE,
  COMMON_DATA_TYPE_STAMP,
  COMMON_DATA_TYPE_EXTERNAL_URL,
  COMMON_DATA_TYPE_TOPIC_TAG,
  COMMON_DATA_TYPE_SEARCH_KEY,
  COMMON_DATA_TYPE_COMMUNITY_ID,
  COMMON_DATA_TYPE_POST_ID,
  COMMON_DATA_TYPE_COMMENT_ID,
  COMMON_DATA_TYPE_USER_PID,
  COMMON_DATA_TYPE_RESULT
}
 Enumerated type representing data types. More...
 
enum  Feeling {
  FEELING_NORMAL,
  FEELING_HAPPY,
  FEELING_LIKE,
  FEELING_SURPRISED,
  FEELING_FRUSTRATED,
  FEELING_PUZZLED
}
 Enumerates the moods. More...
 

Variables

static const int APP_DATA_BUFF_LENGTH = 1024
 The size of the buffer for the application data.
 
static const int BANNER_DATA_BUFF_LENGTH = 512 * 1024
 The size of the buffer for banner data.
 
static const int BODY_MEMO_BUFF_LENGTH = 4864
 The buffer size of the handwritten memo data.
 
static const int BODY_MEMO_HEIGHT = 120
 The height of the handwritten memo data.
 
static const int BODY_MEMO_WIDTH = 320
 The width of the handwritten memo data.
 
static const int BODY_TEXT_BUFF_LENGTH = 256
 The length of the buffer for the text data, including the terminating null character.
 
static const int BODY_TEXT_MAX_LENGTH = 255
 The maximum length of the text data, excluding the terminating null character.
 
static const int COMMENT_ID_BUFF_LENGTH = 32
 The length of the buffer for the comment ID, including the terminating null character.
 
static const int COMMUNITY_CODE_BUFF_LENGTH = 13
 The length of the buffer for the community code, including the terminating null character.
 
static const u32 COMMUNITY_ID_ALL_OFFICIAL = 0xFFFFFFFF
 Community IDs representing all official communities.
 
static const int COMMUNITY_ID_MAX_NUM = 30
 The maximum number of community IDs that can be specified when downloading community data.
 
static const int COMPRESSED_BODY_MEMO_BUFF_LENGTH = BODY_MEMO_BUFF_LENGTH + 32
 The buffer size of the handwritten memo data after compression.
 
static const int COMPRESSED_ICON_DATA_BUFF_LENGTH = 9 * 1024 + 44
 The size of the buffer for the community icon data after compression.
 
static const int COMPRESSED_ICON_DATA_BUFF_LENGTH_WIIU = 64 * 1024 + 44
 The size of the buffer for the compressed Wii U community icon data.
 
static const int DESCRIPTION_TEXT_BUFF_LENGTH = 256
 The length of the buffer for the community description, including the terminating null character.
 
static const int EXTERNAL_IMAGE_DATA_MAX_LENGTH = 512 * 1024
 The maximum size of the attached image data.
 
static const int EXTERNAL_IMAGE_DATA_TOTAL_MAX_LENGTH = 512 * 1024
 The maximum combined size of the attached image data and the attached thumbnail image data.
 
static const int EXTERNAL_THUMBNAIL_IMAGE_DATA_MAX_LENGTH = 128 * 1024
 The maximum size of the attached thumbnail image data.
 
static const int EXTERNAL_URL_BUFF_LENGTH = 256
 The length of the buffer for the attached URL, including the terminating null character.
 
static const int HOST_NAME_BUFF_LENGTH = 256
 The length of the buffer for the hostname, including the terminating null character.
 
static const int ICON_DATA_BUFF_LENGTH = 9 * 1024 + 44
 The size of the buffer for the community icon data.
 
static const int ICON_DATA_BUFF_LENGTH_WIIU = 64 * 1024 + 44
 The size of the buffer for the Wii U community icon data.
 
static const u8 LANGUAGE_ID_ALL = 0xFE
 Language IDs representing all languages.
 
static const int MII_DATA_BUFF_LENGTH = 96
 The size of the buffer for the Mii data.
 
static const int MII_NICKNAME_BUFF_LENGTH = 32
 The length of the buffer for the nickname of the Mii character, including the terminating null character.
 
static const int PARAM_PACK_BUFF_LENGTH = 512
 The length of the buffer for the parameter pack, including the terminating null character.
 
static const u32 PORTAL_APP_APPLET_ID = 0x117
 The applet ID for the Miiverse application.
 
static const int POST_ID_BUFF_LENGTH = 32
 The length of the buffer for the post ID, including the terminating null character.
 
static const int POST_ID_MAX_NUM = 20
 The maximum number of post IDs that can be specified when downloading posts.
 
static const int SEARCH_KEY_BUFF_LENGTH = 151 + 1
 The length of the buffer for the search key, including the terminating null character.
 
static const int SEARCH_KEY_MAX_LENGTH = 50
 The maximum length of the search key, excluding the terminating null character.
 
static const int SEARCH_KEY_MAX_NUM = 5
 The maximum number of search keys that can be specified when uploading posts.
 
static const int SYSTEM_ARGS_COMMON_STRING_BUFF_LENGTH = 512
 The length of the buffer for the system argument common strings, including the terminating null character.
 
static const int TITLE_TEXT_BUFF_LENGTH = 128
 The length of the buffer for the community name, including the terminating null character.
 
static const int TOPIC_TAG_BUFF_LENGTH = 151 + 1
 The length of the buffer for the topic tag, including the terminating null character.
 
static const int TOPIC_TAG_MAX_LENGTH = 50
 The maximum length of the topic tag, excluding the terminating null character.
 
static const int URL_BUFF_LENGTH = 2048
 The length of the buffer for the URL, including the terminating null character.
 
static const int USER_AGENT_BUFF_LENGTH = 64
 The length of the buffer for the user agent, including the terminating null character.
 

Detailed Description

These are constant declarations for the OLV library.