23#define AI_ADP_HOSTNAME AtString("ADDIN_PARENT_NAME")
24#define AI_ADP_HOSTVERSION AtString("ADDIN_PARENT_VERSION")
25#define AI_ADP_PLUGINNAME AtString("ADDIN_NAME")
26#define AI_ADP_PLUGINVERSION AtString("ADDIN_VERSION")
28enum class AtADPDialogMode { ONLY_FIRST_TIME = 1, ALWAYS = 2 };
92AI_API AI_DEPRECATED
void AiADPDialogStrings(AtParamValueMap& strings,
const char* custom_optin_command);
AI_API void AiADPDisableDialogWindow()
Prevent the dialog window from opening.
AI_API AI_DEPRECATED void AiADPSetIntroShown()
Call this after displaying the intro to user so we don't keep displaying intro message.
AI_API void AiADPSetOptedIn(bool wants_optin)
Set to true if user agreed to optin and false if opted out.
AI_API void AiADPAddProductMetadata(AtString name, AtString value)
Provide additional data to the product analytics, such as information about the client that created t...
AI_API void AiADPDisplayDialogWindow(AtADPDialogMode mode=AtADPDialogMode::ALWAYS)
Display a modal window that lets the user opt-in/out of various analytics.
AI_API bool AiADPIsOptedIn()
AI_API AI_DEPRECATED void AiADPDialogStrings(AtParamValueMap &strings, const char *custom_optin_command)
Strings and URLs to display to user when displaying ADP related dialog boxes.
DLL export prefix for API functions (necessary for multi-platform development)
AtString class for fast comparisons.
Arnold String allows for fast string comparisons.
Definition: ai_string.h:46