2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
6 // $Header: r:/t2repos/thief2/src/object/querynul.h,v 1.4 2000/01/29 13:24:49 adurant Exp $
13 ////////////////////////////////////////////////////////////
14 // THE NULL LINK QUERY
16 // Has no links. Is always done. So there.
19 class cNullLinkQuery
: public ILinkQuery
21 DECLARE_UNAGGREGATABLE();
25 STDMETHOD_(BOOL
,Done
)() const;
26 STDMETHOD(Link
)(sLink
* link
) const;
29 STDMETHOD_(LinkID
,ID
)() const { return LINKID_NULL
;};
30 STDMETHOD_(void*,Data
)() const { return NULL
;};
31 STDMETHOD_(ILinkQuery
*,Inverse
)() { AddRef(); return this;};
36 #endif // __QUERYNUL_H