ai_adp.h
Go to the documentation of this file.
1 // Copyright 2020 Autodesk, Inc. All rights reserved.
2 //
3 // Use of this software is subject to the terms of the Autodesk license
4 // agreement provided at the time of installation or download, or which
5 // otherwise accompanies this software in either electronic or hard copy form.
6 
12 #pragma once
13 #include "ai_api.h"
14 #include "ai_map.h"
15 #include "ai_string.h"
16 
22 AI_API AI_DEPRECATED bool AiPromptADPDialog();
23 
50 AI_API bool AiADPIntroWasShown();
51 
55 AI_API void AiADPSetIntroShown();
56 
60 AI_API void AiADPSetOptedIn(bool wants_optin);
61 
65 AI_API bool AiADPIsOptedIn();
66 
90 AI_API void AiADPDialogStrings(AtParamValueMap& strings, const char* custom_optin_command);
AI_API bool AiADPIntroWasShown()
Before ADP collects any data, we need to let the user know that Arnold data is being sent to adsk...
AI_API 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)
Key/Value storage.
AI_API void AiADPSetOptedIn(bool wants_optin)
Set to true if user agreed to optin and false if opted out.
AI_API bool AiADPIsOptedIn()
AI_API void AiADPSetIntroShown()
Call this after displaying the intro to user so we don't keep displaying intro message.
AtString class for fast comparisons.
AI_API AI_DEPRECATED bool AiPromptADPDialog()
Display dialog box for toggling ADP logging state.

© 2020 Autodesk, Inc. · All rights reserved · www.arnoldrenderer.com