26#define AI_ADP_HOSTNAME AtString("ADDIN_PARENT_NAME")
27#define AI_ADP_HOSTVERSION AtString("ADDIN_PARENT_VERSION")
28#define AI_ADP_PLUGINNAME AtString("ADDIN_NAME")
29#define AI_ADP_PLUGINVERSION AtString("ADDIN_VERSION")
31enum class AtADPDialogMode { ONLY_FIRST_TIME = 1, ALWAYS = 2 };
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:54
AI_API void AiADPDisableDialogWindow()
Prevent the dialog window from opening.
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()