/***************************************************************************
 *                          Zanoza Modeler v2.x                            *
 *      This is unpublished propietary source code of Zanoza Software.     *
 *      The copyright notice does not evidence any actual or intended      *
 *                    publication of such source code.                     *
 *                                                                         *
 *                Copyright (c) 2002-2003 Zanoza Software.                 *
 *                                                                         *
 *                        All rights reserved.                             *
 ***************************************************************************
 *--------------------------------------------------------------------------
 * @author:   Oleg M.
 *--------------------------------------------------------------------------
 * @purpose:  ZModeler 2.x IViewport helpers
 *--------------------------------------------------------------------------
 * @histroy: 22.01.2004. Created
 */
#ifndef viewportshelper_h_included
#define viewportshelper_h_included

#include <zmodeler.h>
#include <core/ui/IViewport.h>

namespace core
{
  namespace ui
  {
    DLL_LINKAGE ZRESULT ZAPICALL getActiveViewport(IViewport** ppVPort);
    DLL_LINKAGE ZRESULT ZAPICALL getActiveView(IView** ppView);
    DLL_LINKAGE ZRESULT ZAPICALL setActiveView(IView* pView);
    DLL_LINKAGE ZRESULT ZAPICALL redrawViewports();
  };//ui
};//core

#endif //viewportshelper_h_included



