/** * @file friends.h * @brief Friend implementation. */ #pragma once #include #include namespace nn { namespace friends { typedef char Url[0xA0]; class AsyncContext; class Profile; void Initialize(); Result GetProfileList(nn::friends::AsyncContext* context, nn::friends::Profile* profiles, nn::account::Uid const& userID, nn::account::NetworkServiceAccountId const* accountIDs, s32 numAccounts); class Profile { public: Profile(); nn::account::NetworkServiceAccountId GetAccountId() const; nn::account::Nickname& GetNickname() const; bool IsValid() const; Result GetProfileImageUrl(nn::friends::Url*, s32); }; class AsyncContext { public: AsyncContext(); ~AsyncContext(); Result GetSystemEvent(nn::os::SystemEvent*); Result GetResult() const; }; }; // namespace friends }; // namespace nn