14 #ifndef __OLV_TYPES_DOWNLOAD_POSTDATA_H_
15 #define __OLV_TYPES_DOWNLOAD_POSTDATA_H_
139 void SetPostId(
const char* postId, u32 index);
150 void SetPostDate(
const nn::fnd::DateTime postDate);
194 void SetWork(u8* work, u32 workSize);
200 u32 m_BodyTextMaxLength;
204 s8 m_IsSetLanguageId;
205 s8 m_IsSetCommunityId;
206 s8 m_IsSetBodyTextMaxLength;
207 u32 m_PostDataMaxNum;
210 nn::fnd::DateTime m_PostDate;
211 u8 m_Reserved[1024-984];
213 friend class nn::olv::internal::Main;
237 u32 GetCommunityId()
const;
243 friend class nn::olv::internal::Main;
258 FLAG_WITH_BODY_TEXT = DOWNLOAD_FLAG_VALUE_WITH_BODY_TEXT,
259 FLAG_WITH_BODY_MEMO = DOWNLOAD_FLAG_VALUE_WITH_BODY_MEMO,
260 FLAG_WITH_EXTERNAL_IMAGE_DATA = DOWNLOAD_FLAG_VALUE_WITH_EXTERNAL_IMAGE_DATA,
262 FLAG_WITH_EXTERNAL_URL = DOWNLOAD_FLAG_VALUE_WITH_EXTERNAL_URL,
263 FLAG_WITH_APP_DATA = DOWNLOAD_FLAG_VALUE_WITH_APP_DATA,
264 FLAG_EMPATHY_ADDED = DOWNLOAD_FLAG_VALUE_EMPATHY_ADDED,
265 FLAG_FREE_FORMAT = DOWNLOAD_FLAG_VALUE_FREE_FORMAT,
266 FLAG_SPOILER = DOWNLOAD_FLAG_VALUE_SPOILER
286 bool TestFlags(u32 flags)
const;
293 u32 GetUserPid()
const;
302 nn::fnd::DateTime GetPostDate()
const;
309 s8 GetFeeling()
const;
316 u32 GetRegionId()
const;
323 u8 GetPlatformId()
const;
332 u8 GetLanguageId()
const;
341 u8 GetCountryId()
const;
357 void GetExternalUrl(
char* externalUrl, u32 externalUrlMaxLength)
const;
370 void GetMiiData(nn::mii::StoreData* storeData)
const;
383 void GetMiiNickname(
wchar_t* miiNickname, u32 miiNicknameMaxLength)
const;
399 void GetBodyText(
wchar_t* bodyText, u32 bodyTextMaxLength)
const;
416 void GetBodyMemo(u8* bodyMemo, u32* bodyMemoSize, u32 bodyMemoMaxSize)
const;
429 void GetTopicTag(
wchar_t* topicTag, u32 topicTagMaxLength)
const;
446 void GetAppData(u8* appData, u32* appDataSize, u32 appDataMaxSize)
const;
453 u32 GetAppDataSize()
const;
460 u32 GetExternalImageDataSize()
const;
477 nn::olv::Result DownloadExternalImageData(
void* externalImageData, u32* externalImageDataSize, u32 externalImageDataMaxSize)
const;
484 u32 GetCommunityId()
const;
491 u32 GetEmpathyCount()
const;
498 u32 GetCommentCount()
const;
511 void GetPostId(
char* postId, u32 postIdMaxLength)
const;
513 friend class nn::olv::internal::Main;