#ifndef _VIEWER_
#define _VIEWER_

#ifdef __BORLANDC__
#pragma hdrstop
#endif

#include <wx/wx.h>
#include <wx/html/htmlwin.h>

class Navigator;

class Viewer
{
 public:
  Viewer(wxWindow* parent, wxWindowID id, const wxPoint& p, const wxSize& s, 
	 long style = 0, const wxString& name = wxString::FromUTF8("VisorHtml"));
  void LoadPage(const wxString& s);
  void Nav(Navigator* n);
  
 private:
  wxFileName *file;
  Navigator *nav;
  wxStaticBox *box;
  wxHtmlWindow *html;
};

#endif