27 #ifndef _ILayoutTarget_ 28 #define _ILayoutTarget_ 32 #include "IPMUnknown.h" 33 #include "ShuksanID.h" 54 enum { kDefaultIID = IID_ILAYOUTTARGET };
59 template<
typename,
int v>
struct Int2Type {
enum { value = v};};
68 StandoffChoice(
const StandoffChoice& other) : value( other.value) { }
69 friend bool operator==(
const StandoffChoice& lhs,
const StandoffChoice& rhs) {
return lhs.value == rhs.value; }
70 friend bool operator!=(
const StandoffChoice& lhs,
const StandoffChoice& rhs) {
return lhs.value != rhs.value; }
81 LockedParentChoice(
const LockedParentChoice& other) : value( other.value) { }
82 friend bool operator==(
const LockedParentChoice& lhs,
const LockedParentChoice& rhs) {
return lhs.value == rhs.value; }
83 friend bool operator!=(
const LockedParentChoice& lhs,
const LockedParentChoice& rhs) {
return lhs.value != rhs.value; }
99 virtual void Add (
const UID newItem) = 0;
102 virtual void Add (
const UIDList& newItems) = 0;
105 virtual void Remove (
const UID itemToRemove) = 0;
109 virtual void Clear (
void) = 0;
182 #endif // _ILayoutTarget_