Adobe.com
Contents Suites Classes Class Index Member Index

AIPreference.h File Reference

#include "AITypes.h"
#include "AIFixedMath.h"
#include "SPPlugs.h"
#include "AIMenu.h"
#include "IAIUnicodeString.h"
#include "IAIFilePath.hpp"
#include "AIHeaderBegin.h"
#include "AIHeaderEnd.h"

Go to the source code of this file.

Classes

struct  AIPreferencePanelMessage
 Message sent by the preference selectors. More...
struct  AIPreferenceSuite
 This suite provides cross-platform access to Illustrator preferences. More...

Defines

#define kAIPreferenceSuite   "AI Preference Suite"
#define kAIPreferenceSuiteVersion6   AIAPI_VERSION(6)
#define kAIPreferenceSuiteVersion   kAIPreferenceSuiteVersion6
#define kAIPreferenceVersion   kAIPreferenceSuiteVersion
#define kAIPreferenceChangedNotifier   "AI Preference Changed Notifier"
 Sent when a change is made to the preferences.
#define kAIPreferenceCaller   "AI Preference"
 See AIPreferenceSuite.
#define kAIPreferenceInitSelector   "Init Preference Panel"
 See AIPreferenceSuite.
#define kAIPreferenceOKSelector   "Preference Dialog OK"
 See AIPreferenceSuite.
#define kAIPreferenceCancelSelector   "Preference Dialog Cancel"
 See AIPreferenceSuite.
#define kAIPreferenceUpdateSelector   "Preference Dialog Upadate"
 See AIPreferenceSuite.
#define kAIPreferenceTurnOffWarningPrefix   "DontShowWarningAgain"
 If you add a preference for a Disable checkbox to the alert dialog, call AIPreferenceSuite::PutBooleanPreference( kAIPreferenceTurnOffWarningPrefix, "your plug-in unique string", value) This allows Illustrator to clear the General preference.

Typedefs

typedef struct
_t_AIPreferenceItemGroupOpaque * 
AIPreferenceItemGroupHandle
 Opaque reference to a preference item group, never dereferenced.
typedef ai::uint32 AIPreferenceDateTime
 Type for a date/time value stored in preferences,.

Detailed Description


Define Documentation

#define kAIPreferenceSuite   "AI Preference Suite"
#define kAIPreferenceSuiteVersion   kAIPreferenceSuiteVersion6
#define kAIPreferenceSuiteVersion6   AIAPI_VERSION(6)
#define kAIPreferenceTurnOffWarningPrefix   "DontShowWarningAgain"

If you add a preference for a Disable checkbox to the alert dialog, call AIPreferenceSuite::PutBooleanPreference( kAIPreferenceTurnOffWarningPrefix, "your plug-in unique string", value) This allows Illustrator to clear the General preference.

<<I'm not sure what this means - it could use some context>>

#define kAIPreferenceVersion   kAIPreferenceSuiteVersion

Typedef Documentation

Type for a date/time value stored in preferences,.

typedef struct _t_AIPreferenceItemGroupOpaque* AIPreferenceItemGroupHandle

Opaque reference to a preference item group, never dereferenced.

Access with AIPreferenceSuite



Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks