/***************************************************************************
 *                          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 IDialogBar
 *   Simple dialog bar interface
 *--------------------------------------------------------------------------
 * @created: Friday, September 27, 2002 19:45:56
 */

#if !defined(IDialogBar_h_included)
#define IDialogBar_h_included
//forward declaration of this class might require
namespace core
{ namespace ui
  { class IDialogBar; class CDialogBarCol; }; };
#include <zmodeler.h>
#include <core/ui/uiTypes.h>
#include <core/ui/IControlBar.h>


namespace core
{
  namespace ui
  {
    
    class IDialogBar : public core::ui::IControlBar
    {
    public:
      /* Attaches child elements */
      virtual ZRESULT attachChild(CWnd* ppWnd)=0;
      /* Sets content as Tepmplate name */
      virtual ZRESULT setContent(long nTemplate)=0;
    
    };//class IDialogBar
    
    //
    // collection template
    //
    class CDialogBarCol : public ZUnknown,
        public ZIntrCollection<IDialogBar>
    {
    public:
      INTERFACE_FUNCTIONS_DEFAULT(CDialogBarCol)
    };//class CDialogBarCol
  };//ui
};//core

#endif
