13 #ifndef __VIS_Handle__
14 #define __VIS_Handle__
36 {
return getMount(); }
39 {
return myUniqueId == vh.myUniqueId; }
42 {
return myUniqueId != vh.myUniqueId; }
47 int getUniqueId()
const;
67 const char *getLabel()
const;
68 const char *getIcon()
const;
70 bool isActiveWhenUnselected()
const;
71 bool isActiveWhenSelected()
const;
72 bool isActiveWhenGhosted()
const;
73 bool isActiveWhenDisplayed()
const;
74 bool isActiveWhenCurrent()
const;
75 bool isActiveWhenTemplated()
const;
77 bool showInToolbar()
const;
92 #define VIS_INVALID_HANDLE VIS_Handle(-1)
VIS_Mount * getMount() const
VIS_Handle(int unique_id=-1)
bool operator==(const VIS_Handle vh) const
size_t hash_value(const VIS_Handle &vh)
PXL_API const char * getName(const ColorSpace *space)
Return the name of the color space.
bool operator!=(const VIS_Handle vh) const
VIS_API VIS_Mount * VISlookupHandleMount(VIS_Handle vh)
static VIS_Mount * lookupHandleMount(VIS_Handle vh)