![]() |
ASUserInteractionSuite Struct Reference
|
|||||||||||||||||||||||||||||||||||||||||
Public Attributes | |
| ASAPI ASInteractionAllowed(* | GetInteractionAllowed )(void) |
| Reports the level of interaction that is allowed between the application and the user, according to the application preference. | |
| ASAPI ASErr(* | SetInteractionAllowed )(ASInteractionAllowed allowed) |
| Sets the level of interaction that is allowed between the application and the user. | |
| ASAPI ASBoolean(* | InteractWithUser )(void) |
| Reports whether interaction is allowed between the application and the user in the current application context. | |
| ASAPI ASErr(* | LogInteraction )(const char *msg) |
| Sets the log message using a C string. | |
| ASAPI ASErr(* | LogInteractionW )(const ASUnicode *msg) |
| Sets the log message using a Unicode string. | |
This suite provides access to the application preference for how the application responds to messages.
When user interaction is on, the application displays alerts in response to informational, warning, and error messages. When it is off, the application writes to a log file.
SPBasicSuite::AcquireSuite() with the constants kASUserInteractionSuite and kASUserInteractionVersion. Reports the level of interaction that is allowed between the application and the user, according to the application preference.
(Note that this function returns a constant value, not an error code.)
| ASAPI ASBoolean(* ASUserInteractionSuite::InteractWithUser)(void) |
Reports whether interaction is allowed between the application and the user in the current application context.
(Note that this function returns a boolean value, not an error code.)
kASInteractWithNone. Referenced by ASUserInteractionChecker::InteractWithUser().
| ASAPI ASErr(* ASUserInteractionSuite::LogInteraction)(const char *msg) |
Sets the log message using a C string.
This message is written to the log file when an alert condition occurs, if user interactivity is turned off.
| msg | The message text, a null-terminated UTF-8 string. |
Referenced by ASUserInteractionChecker::logInfo().
| ASAPI ASErr(* ASUserInteractionSuite::LogInteractionW)(const ASUnicode *msg) |
Sets the log message using a Unicode string.
This message is written to the log file when an alert condition occurs, if user interactivity is turned off.
| msg | The message text, a null-terminated UTF-16 string. |
| ASAPI ASErr(* ASUserInteractionSuite::SetInteractionAllowed)(ASInteractionAllowed allowed) |
Sets the level of interaction that is allowed between the application and the user.
The default value is kASInteractWithAll.
| allowed | The interaction level constant. |
| Contents | Suites | Classes | Class Index | Member Index |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||