// $Revision: 1.3 $ #ifndef TaligentSamples_WEBPRESENTERSTATE #include "WebPresenterState.h" #endif #ifndef TaligentSamples_WEBVIEW #include "WebView.h" #endif #ifndef TaligentSamples_WEBPRESENTER #include "WebPresenter.h" #endif MCollectibleDefinitionsMacro(TWebPresenterState, kOriginalVersion); TWebPresenterState::TWebPresenterState() : TTextPresenterState() { } TWebPresenterState::TWebPresenterState(const TWebPresenterState& other) : TTextPresenterState(other) { } TWebPresenterState::~TWebPresenterState() { } TStream& TWebPresenterState::operator>>=(TStream& toStream) const { ::WriteVersion(toStream); TTextPresenterState::operator>>=(toStream); return toStream; } TStream& TWebPresenterState::operator<<=(TStream& fromStream) { ::ReadVersion(fromStream, kOriginalVersion, kOriginalVersion); TTextPresenterState::operator<<=(fromStream); return fromStream; } TGUIPresenter* TWebPresenterState::HandleCreatePresenter(const TGUIBundle& bundle) const { return new TWebPresenter(bundle); }