// $Revision: 1.3 $ // Copyright (c) 1994-1995 Taligent, Inc. All rights reserved. #ifndef TaligentSamples_LONGINTEREST #define TaligentSamples_LONGINTEREST #ifndef Taligent_NOTIFICATION #include #endif class TLongInterest : public TInterest { public: MCollectibleDeclarationsMacro(TLongInterest); TLongInterest(MNotifier*, const TToken&, long); TLongInterest(const TLongInterest&); virtual ~TLongInterest(); TLongInterest& operator=(const TLongInterest&); virtual long GetLong() const; virtual void SetLong(long); virtual TStream& operator>>=(TStream&) const; virtual TStream& operator<<=(TStream&); virtual long Hash() const; virtual bool IsEqual(const MCollectible*) const; protected: TLongInterest(); private: long fLong; enum EVersion { kOriginalVersion }; }; #endif // TaligentSamples_LONGINTEREST