/***************************************************************************
 *                          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 IFloaterLayout
 *   Layout in floating bar. Main menu item is associated with
 *   this floater and can be checked/unchecked when the
 *   floater is visible or not.
 *--------------------------------------------------------------------------
 * @created: Monday, January 13, 2003 13:05:58
 */

#if !defined(IFloaterLayout_h_included)
#define IFloaterLayout_h_included
//forward declaration of this class might require
namespace core
{ namespace layout
  { class IFloaterLayout; }; };
#include <zmodeler.h>
#include <core/layout/layoutTypes.h>
#include <core/layout/ILayout.h>
#include <core/ui/IDialogBar.h>


namespace core
{
  namespace layout
  {
    
    class IFloaterLayout : public core::layout::ILayout
    {
    public:
      virtual ZRESULT getDialogBar(core::ui::IDialogBar** ppBar)=0;
      /* Performs deploy of the tool. It creates a floater bar and supplies a
       * pointer to the bar as ret-val argument. */
      virtual ZRESULT deploy(core::ui::IDialogBar** ppBar)=0;
    
    };//class IFloaterLayout
  };//layout
};//core

#endif
