update to tox interface progress
This commit is contained in:
@@ -221,10 +221,46 @@ Tox_Err_Friend_Delete ToxIPCClient::toxFriendDelete(uint32_t friend_number) {
|
||||
CL_BODY(toxFriendDelete, friend_number)
|
||||
}
|
||||
|
||||
std::tuple<std::optional<std::vector<uint8_t>>, Tox_Err_Friend_Get_Public_Key> ToxIPCClient::toxFriendGetPublicKey(uint32_t friend_number) {
|
||||
std::tuple<std::optional<uint32_t>, Tox_Err_Friend_By_Public_Key> ToxIPCClient::toxFriendByPublicKey(const std::vector<uint8_t>& public_key) {
|
||||
CL_BODY(toxFriendByPublicKey, public_key)
|
||||
}
|
||||
|
||||
bool ToxIPCClient::toxFriendExists(uint32_t friend_number) {
|
||||
CL_BODY(toxFriendExists, friend_number)
|
||||
}
|
||||
|
||||
std::optional<std::vector<uint8_t>> ToxIPCClient::toxFriendGetPublicKey(uint32_t friend_number) {
|
||||
CL_BODY(toxFriendGetPublicKey, friend_number)
|
||||
}
|
||||
|
||||
std::optional<uint64_t> ToxIPCClient::toxFriendGetLastOnline(uint32_t friend_number) {
|
||||
CL_BODY(toxFriendGetLastOnline, friend_number)
|
||||
}
|
||||
|
||||
std::optional<std::string> ToxIPCClient::toxFriendGetName(uint32_t friend_number) {
|
||||
CL_BODY(toxFriendGetName, friend_number)
|
||||
}
|
||||
|
||||
std::optional<std::string> ToxIPCClient::toxFriendGetStatusMessage(uint32_t friend_number) {
|
||||
CL_BODY(toxFriendGetStatusMessage, friend_number)
|
||||
}
|
||||
|
||||
std::optional<Tox_User_Status> ToxIPCClient::toxFriendGetStatus(uint32_t friend_number) {
|
||||
CL_BODY(toxFriendGetStatus, friend_number)
|
||||
}
|
||||
|
||||
std::optional<Tox_Connection> ToxIPCClient::toxFriendGetConnectionStatus(uint32_t friend_number) {
|
||||
CL_BODY(toxFriendGetConnectionStatus, friend_number)
|
||||
}
|
||||
|
||||
std::optional<bool> ToxIPCClient::toxFriendGetTyping(uint32_t friend_number) {
|
||||
CL_BODY(toxFriendGetTyping, friend_number)
|
||||
}
|
||||
|
||||
Tox_Err_Set_Typing ToxIPCClient::toxSelfSetTyping(uint32_t friend_number, bool typing) {
|
||||
CL_BODY(toxSelfSetTyping, friend_number, typing)
|
||||
}
|
||||
|
||||
std::tuple<std::optional<uint32_t>, Tox_Err_Friend_Send_Message> ToxIPCClient::toxFriendSendMessage(uint32_t friend_number, Tox_Message_Type type, std::string_view message) {
|
||||
CL_BODY(toxFriendSendMessage, friend_number, type, std::string{message})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user