Fixed return types
This commit is contained in:
@@ -84,18 +84,18 @@ public partial class CustomizePlusIpc
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="uniqueId"></param>
|
/// <param name="uniqueId"></param>
|
||||||
[EzIPC("Profile.EnableByUniqueId")]
|
[EzIPC("Profile.EnableByUniqueId")]
|
||||||
private ErrorCode EnableProfileByUniqueId(Guid uniqueId)
|
private int EnableProfileByUniqueId(Guid uniqueId)
|
||||||
{
|
{
|
||||||
return SetProfileStateInternal(uniqueId, true);
|
return (int)SetProfileStateInternal(uniqueId, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Disable profile using its Unique ID. Does not work on temporary profiles.
|
/// Disable profile using its Unique ID. Does not work on temporary profiles.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[EzIPC("Profile.DisableByUniqueId")]
|
[EzIPC("Profile.DisableByUniqueId")]
|
||||||
private ErrorCode DisableProfileByUniqueId(Guid uniqueId)
|
private int DisableProfileByUniqueId(Guid uniqueId)
|
||||||
{
|
{
|
||||||
return SetProfileStateInternal(uniqueId, false);
|
return (int)SetProfileStateInternal(uniqueId, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private ErrorCode SetProfileStateInternal(Guid uniqueId, bool state)
|
private ErrorCode SetProfileStateInternal(Guid uniqueId, bool state)
|
||||||
|
|||||||
Reference in New Issue
Block a user