/***************************************************************************
 *                          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-2008 Zanoza Software.                 *
 *                                                                         *
 *                        All rights reserved.                             *
 ***************************************************************************
 *--------------------------------------------------------------------------
 * @author:   Oleg Melashenko
 *--------------------------------------------------------------------------
 * @purpose:  Declaration of the class IUIManager
 *   User interface manager
 *--------------------------------------------------------------------------
 * @created: Saturday, September 28, 2002 12:17:23
 */

#if !defined(IUIManager_h_included)
#define IUIManager_h_included
//forward declaration of this class might require
namespace core
{ namespace ui
  { class IUIManager; }; };
#include <zmodeler.h>
#include <core/ui/uiTypes.h>
#include <core/ui/IDialogBar.h>
#include <core/ui/IGraphManager.h>
#include <core/ui/IWorkspace.h>
#include <services/ICommandsBarService.h>


namespace core
{
  namespace ui
  {
    
    class IUIManager : public ZUnknown
    {
    public:
      /* Provides a pointer to the main window */
      virtual ZRESULT getMainWindow(CWnd** ppWnd)=0;
      /* Creates dialog bar */
      virtual ZRESULT createDialogBar(DWORD dwKind, ZString strName, core::ui::IDialogBar** ppBar)=0;
      virtual ZRESULT getGraphManager(core::ui::IGraphManager** ppManager)=0;
      virtual ZRESULT getWorkspace(core::ui::IWorkspace** ppWorkspace)=0;
      /* provides a collection of controlBars */
      virtual ZRESULT getDialogBars(CDialogBarCol** ppCol)=0;
      virtual ZRESULT setCommandsBar(services::ICommandsBarService* pBar)=0;
      virtual ZRESULT getCommandsBar(services::ICommandsBarService** ppBar)=0;
    
    };//class IUIManager
  };//ui
};//core

#endif
