14 #ifndef __OLV_TYPES_DOWNLOADED_DATABASE_H_
15 #define __OLV_TYPES_DOWNLOADED_DATABASE_H_
21 #include <nn/config.h>
23 #include <nn/mii/mii_StoreData.h>
26 #include <nn/fnd/fnd_DateTime.h>
48 class DownloadedDataBase
54 FLAG_WITH_BODY_TEXT = DOWNLOAD_FLAG_VALUE_WITH_BODY_TEXT,
55 FLAG_WITH_BODY_MEMO = DOWNLOAD_FLAG_VALUE_WITH_BODY_MEMO,
56 FLAG_WITH_EXTERNAL_IMAGE_DATA = DOWNLOAD_FLAG_VALUE_WITH_EXTERNAL_IMAGE_DATA,
57 FLAG_WITH_MII_DATA = DOWNLOAD_FLAG_VALUE_WITH_MII_DATA,
58 FLAG_WITH_EXTERNAL_URL = DOWNLOAD_FLAG_VALUE_WITH_EXTERNAL_URL,
59 FLAG_WITH_APP_DATA = DOWNLOAD_FLAG_VALUE_WITH_APP_DATA,
60 FLAG_EMPATHY_ADDED = DOWNLOAD_FLAG_VALUE_EMPATHY_ADDED,
61 FLAG_FREE_FORMAT = DOWNLOAD_FLAG_VALUE_FREE_FORMAT,
62 FLAG_SPOILER = DOWNLOAD_FLAG_VALUE_SPOILER
66 bool TestFlags(u32 flags)
const;
67 u32 GetUserPid()
const;
68 nn::fnd::DateTime GetPostDate()
const;
69 s8 GetFeeling()
const;
70 u32 GetRegionId()
const;
71 u8 GetPlatformId()
const;
72 u8 GetLanguageId()
const;
73 u8 GetCountryId()
const;
74 void GetExternalUrl(
char* externalUrl, u32 externalUrlMaxLength)
const;
75 void GetMiiData(nn::mii::StoreData* storeData)
const;
76 void GetMiiNickname(
wchar_t* miiNickname, u32 miiNicknameMaxLength)
const;
77 void GetBodyText(
wchar_t* bodyText, u32 bodyTextMaxLength)
const;
78 void GetBodyMemo(u8* bodyMemo, u32* bodyMemoSize, u32 bodyMemoMaxSize)
const;
79 void GetTopicTag(
wchar_t* topicTag, u32 topicTagMaxLength)
const;
80 void GetAppData(u8* appData, u32* appDataSize, u32 appDataMaxSize)
const;
81 u32 GetAppDataSize()
const;
82 u32 GetExternalImageDataSize()
const;
83 nn::olv::Result DownloadExternalImageData(
void* externalImageData, u32* externalImageDataSize, u32 externalImageDataMaxSize)
const;
84 u32 GetCommunityId()
const;
85 u32 GetEmpathyCount()
const;
86 u32 GetCommentCount()
const;
87 void GetPostId(
char* postId, u32 postIdMaxLength)
const;
91 nn::fnd::DateTime m_PostDate;
105 u32 m_ExternalImageSize;
112 u8 m_Reserved[8192-7456];
114 friend class nn::olv::internal::Main;