// $Revision: 1.3 $ // Copyright (c) 1994-1995 Taligent, Inc. All Rights Reserved. #ifndef TaligentSamples_HELLOWORLDMODEL #define TaligentSamples_HELLOWORLDMODEL #ifndef Taligent_GUICOMPOUNDDOCUMENT #include #endif #ifndef Taligent_STANDARDTEXT #include #endif class THelloWorldModel : public TModel { public: ModelDeclarationsMacro(THelloWorldModel); public: THelloWorldModel(); virtual ~THelloWorldModel(); virtual TStream& operator>>=(TStream& toStream) const; virtual TStream& operator<<=(TStream& fromStream); virtual TModelSelection* CreateSelection() const; virtual void GetText(TText&) const; virtual void SetText(const TText&); private: THelloWorldModel(const THelloWorldModel& source); THelloWorldModel& operator=(const THelloWorldModel& source); TStandardText fText; enum EVersion { kOriginalVersion }; }; #endif // TaligentSamples_HELLOWORLDMODEL