// $Revision: 1.3 $ // Copyright (c) 1994-1995 Taligent, Inc. All Rights Reserved. // Notification sample 5 #ifndef TaligentSamples_SENDER #define TaligentSamples_SENDER #ifndef Taligent_NOTIFICATION #include #endif #ifndef TaligentSamples_LONGINTEREST #include "LongInterest.h" #endif // ======================================================================================== class TSender : public TNotifier { public: TSender(); virtual ~TSender(); virtual long GetValue() const; virtual void SetValue(long); virtual TInterest GetValueChangedInterest() const; // TLongNotification virtual TLongInterest GetValueInterest(long) const; // TLongNotification private: long fValue; enum { kOriginalVersion }; }; #endif