7#ifndef __HDI_CORE_AI_PREFERENCES__
8#define __HDI_CORE_AI_PREFERENCES__
10#if defined(HDI_CORE_AIP_MODE)
42 bool getBoolPref(
const std::string& prefix_,
const std::string& suffix_,
bool& b__)
const;
55 bool setBoolPref(
const std::string& prefix_,
const std::string& suffix_,
const bool b_);
68 bool getIntPref(
const std::string& prefix_,
const std::string& suffix_, int32_t& n__)
const;
81 bool setIntPref(
const std::string& prefix_,
const std::string& suffix_,
const int32_t n_);
94 bool getFloatPref(
const std::string& prefix_,
const std::string& suffix_,
double& n__)
const;
107 bool setFloatPref(
const std::string& prefix_,
const std::string& suffix_,
const double n_);
146 bool getRectPref(
const std::string& prefix_,
const std::string& suffix_,
Rect& r__)
const;
159 bool setRectPref(
const std::string& prefix_,
const std::string& suffix_,
const Rect& r_);
172 bool getStringPref(
const std::string& prefix_,
const std::string& suffix_, std::string& str__)
const;
185 bool setStringPref(
const std::string& prefix_,
const std::string& suffix_,
const std::string& str_);
196 bool prefExists(
const std::string& prefix_,
const std::string& suffix_)
const;
210 bool removePref(
const std::string& prefix_,
const std::string& suffix_);
Allows access to a wide variety of Illustrator app-related runtime attributes, documents,...
Definition: hdicoreIllustrator.h:47
Describes a point in the 2-dimensional (x,y) coordinate system, typically in an Illustrator document ...
Definition: hdicorePoint.h:38
Contains Point and Size objects to describe a rectangle that exists at a specific point of given dime...
Definition: hdicoreRect.h:34
Allows access to and manipulation of Illustrator app preferences; can be used to store plugin prefere...
Definition: hdicoreaiPreferences.h:29
bool setPointPref(const std::string &prefix_, const std::string &suffix_, const Point &p_)
Sets a point pref in the Illustrator prefs data tree.
bool getRectPref(const std::string &prefix_, const std::string &suffix_, Rect &r__) const
Gets a rectangle pref from the Illustrator prefs data tree.
bool setBoolPref(const std::string &prefix_, const std::string &suffix_, const bool b_)
Sets a bool pref in the Illustrator prefs data tree.
bool setIntPref(const std::string &prefix_, const std::string &suffix_, const int32_t n_)
Sets an integer pref in the Illustrator prefs data tree.
bool getBoolPref(const std::string &prefix_, const std::string &suffix_, bool &b__) const
Gets a bool pref from the Illustrator prefs data tree.
bool setStringPref(const std::string &prefix_, const std::string &suffix_, const std::string &str_)
Sets a string pref in the Illustrator prefs data tree.
bool prefExists(const std::string &prefix_, const std::string &suffix_) const
Check if a preference from the Illustrator prefs data exists.
bool setRectPref(const std::string &prefix_, const std::string &suffix_, const Rect &r_)
Sets a rectangle pref in the Illustrator prefs data tree.
bool getFloatPref(const std::string &prefix_, const std::string &suffix_, double &n__) const
Gets a floating-point pref from the Illustrator prefs data tree.
bool getStringPref(const std::string &prefix_, const std::string &suffix_, std::string &str__) const
Gets a string pref from the Illustrator prefs data tree.
bool setFloatPref(const std::string &prefix_, const std::string &suffix_, const double n_)
Sets a floating-point pref in the Illustrator prefs data tree.
bool removePref(const std::string &prefix_, const std::string &suffix_)
Removes a preference from the Illustrator prefs data tree.
bool getIntPref(const std::string &prefix_, const std::string &suffix_, int32_t &n__) const
Gets an integer pref from the Illustrator prefs data tree.
bool getPointPref(const std::string &prefix_, const std::string &suffix_, Point &p__) const
Gets a point pref from the Illustrator prefs data tree.