mirror of https://github.com/opa334/TrollStore.git
Document the actions
This commit is contained in:
parent
c130a04ff5
commit
5eecb677a7
|
@ -20,9 +20,10 @@ extern xpc_object_t xpc_connection_send_message_with_reply_sync(xpc_connection_t
|
||||||
extern xpc_object_t xpc_dictionary_get_value(xpc_object_t xdict, const char *key);
|
extern xpc_object_t xpc_dictionary_get_value(xpc_object_t xdict, const char *key);
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
kAMFIActionArm = 0,
|
kAMFIActionArm = 0, // Trigger a prompt asking the user to enable developer mode on the next reboot
|
||||||
kAMFIActionDisable = 1,
|
// (regardless of current state)
|
||||||
kAMFIActionStatus = 2,
|
kAMFIActionDisable = 1, // Disable developer mode if it's currently enabled. Takes effect immediately.
|
||||||
|
kAMFIActionStatus = 2, // Returns a dict: {success: bool, status: bool, armed: bool}
|
||||||
} AMFIXPCAction;
|
} AMFIXPCAction;
|
||||||
|
|
||||||
xpc_connection_t startConnection(void) {
|
xpc_connection_t startConnection(void) {
|
||||||
|
|
Loading…
Reference in New Issue