24 #ifndef __IDictionaryData__ 25 #define __IDictionaryData__ 27 #include "IPMUnknown.h" 28 #include <adobe/dictionary_fwd.hpp> 29 #include <adobe/name.hpp> 30 #include <adobe/any_regular.hpp> 31 #include <adobe/closed_hash.hpp> 39 enum { kDefaultIID = IID_IDICTIONARYDATA };
41 typedef adobe::name_t KeyType;
42 typedef adobe::any_regular_t ValueType;
43 typedef adobe::dictionary_t Dictionary;
45 virtual void Set(Dictionary newDict) = 0;
47 virtual Dictionary Get()
const = 0;
52 virtual void SetValue(
const KeyType& key,
const ValueType& newValue) = 0;
57 virtual bool GetValue(
const KeyType& key, ValueType& value)
const = 0;
61 #endif // __IDictionaryData__