// $Revision: 1.4 $ // Copyright (c) 1994-1995 Taligent, Inc. All rights reserved. #ifndef Taligent_HELLOWORLDPRESENTER #include #endif #ifndef Taligent_HELLOWORLDMODEL #include #endif VersionDefinitionsMacro(THelloWorldPresenter, kOriginalVersion); THelloWorldPresenter::THelloWorldPresenter(const TGUIBundle& bundle) : TGUIPresenter(bundle) { } THelloWorldPresenter::~THelloWorldPresenter() { } TView* THelloWorldPresenter::HandleCreateMainView(TGUIBundle* bundle) const { TDeleterFor archive = TArchive::CopyArchiveForSharedLibrary(); TArchiveEnvelope envelope(archive); TDocumentComponentView* view = envelope.CopyObject(TStandardText("MainView")); view->SetGUIBundle(bundle); return view; } static TGUIModelPresenterStationeryFor stationery;