/************************************************************************/
/* Copyright 1998 MBARI							*/
/************************************************************************/
#ifndef _VIEWMANAGER_H
#define _VIEWMANAGER_H
static char ViewManager_h_id[] = "$Header: /u/oreilly/rov/tmacs/RCS/ViewManager.h,v 1.2 1998/12/18 21:07:21 oreilly Exp $";

/*
$Log: ViewManager.h,v $
Revision 1.2  1998/12/18 21:07:21  oreilly
Added documentation

Revision 1.1  1996/10/28 09:14:20  oreilly
Initial revision

*/


#include <Vk/VkComponent.h>
#include "View.h"
#include "array.h"


/*
CLASS 
ViewManager

DESCRIPTION
Keeps track of which View object is currently displayed.

AUTHOR
Tom O'Reilly
*/
class ViewManager
{
  public:
  ViewManager();
  ~ViewManager();
  
  ///////////////////////////////////////////////////////////////////
  // Display specified View (after hiding current View, if any)
  int setView(View *view);  

  protected:

  ///////////////////////////////////////////////////////////////////
  // Currently-displayed View
  View *_currentView;
};


#endif
