mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-03 10:02:14 +02:00
update FriendServiceType enum names
This commit is contained in:
parent
c2a0dabfa3
commit
1b9a0d0074
@ -12,11 +12,11 @@
|
|||||||
#include "../sf/service.h"
|
#include "../sf/service.h"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
FriendServiceType_User = 0, ///< Initializes friend:u
|
FriendServiceType_User = 0, ///< Initializes friend:u
|
||||||
FriendServiceType_V = 1, ///< Initializes friend:v
|
FriendServiceType_Viewer = 1, ///< Initializes friend:v
|
||||||
FriendServiceType_M = 2, ///< Initializes friend:m
|
FriendServiceType_Manager = 2, ///< Initializes friend:m
|
||||||
FriendServiceType_S = 3, ///< Initializes friend:s
|
FriendServiceType_System = 3, ///< Initializes friend:s
|
||||||
FriendServiceType_Application = 4 ///< Initializes friend:a
|
FriendServiceType_Administrator = 4 ///< Initializes friend:a
|
||||||
} FriendServiceType;
|
} FriendServiceType;
|
||||||
|
|
||||||
/// InAppScreenName
|
/// InAppScreenName
|
||||||
|
@ -17,16 +17,16 @@ Result _friendsInitialize(FriendServiceType service_type) {
|
|||||||
case FriendServiceType_User:
|
case FriendServiceType_User:
|
||||||
rc = smGetService(&g_friendSrv, "friend:u");
|
rc = smGetService(&g_friendSrv, "friend:u");
|
||||||
break;
|
break;
|
||||||
case FriendServiceType_Application:
|
case FriendServiceType_Administrator:
|
||||||
rc = smGetService(&g_friendSrv, "friend:a");
|
rc = smGetService(&g_friendSrv, "friend:a");
|
||||||
break;
|
break;
|
||||||
case FriendServiceType_M:
|
case FriendServiceType_Manager:
|
||||||
rc = smGetService(&g_friendSrv, "friend:m");
|
rc = smGetService(&g_friendSrv, "friend:m");
|
||||||
break;
|
break;
|
||||||
case FriendServiceType_V:
|
case FriendServiceType_Viewer:
|
||||||
rc = smGetService(&g_friendSrv, "friend:v");
|
rc = smGetService(&g_friendSrv, "friend:v");
|
||||||
break;
|
break;
|
||||||
case FriendServiceType_S:
|
case FriendServiceType_System:
|
||||||
rc = smGetService(&g_friendSrv, "friend:s");
|
rc = smGetService(&g_friendSrv, "friend:s");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user