2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
6 // $Header: r:/t2repos/thief2/src/object/proplnk_.h,v 1.5 2000/01/29 13:24:36 adurant Exp $
16 class cDelegatedRelation
;
19 class cObjIDDataOps
: public cSimpleDataOps
23 STDMETHOD(Read
)(sDatum
* pdat
, IDataOpsFile
* file
, int ver
);
28 class cLinkProperty
: public cGenericIntProperty
30 void Init(const sRelationDesc
* rdesc
, const sRelationDataDesc
* rddesc
);
31 static void LGAPI
ListenFunc(sPropertyListenMsg
* msg
, PropListenerData data
);
34 cLinkProperty(const sPropertyDesc
* pdesc
,
35 const sRelationDesc
* rdesc
,
36 const sRelationDataDesc
* rddesc
,
37 ILinkQueryDatabase
* DestKnown
,
40 cLinkProperty(const sPropertyDesc
* pdesc
,
41 const sRelationDesc
* rdesc
,
42 const sRelationDataDesc
* rddesc
,
43 ILinkQueryDatabase
* DestKnown
,
44 IPropertyStore
* store
);
46 virtual ~cLinkProperty();
48 STDMETHOD(QueryInterface
)(REFIID id
, void** ppI
);
49 STDMETHOD(Set
)(ObjID obj
, int val
);
50 STDMETHOD_(void, Notify
)(ePropertyNotifyMsg msg
, PropNotifyData data
);
53 cDelegatedRelation
* Relation
;
55 ILinkQueryDatabase
* DestKnown
;
61 #endif // __PROPLNK__H