/***************************************************************************
 *                          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 ICustomCommandBarView
 *   The most common layout: commands bar tool as a button with caption
 *   Buttons are aranged in purpose-groups and can be re-arranged by user.
 *   By default, the following features are allowed:
 *      - tree-branch node
 *      - images
 *      - button sizes.
 *      - button press modes
 *--------------------------------------------------------------------------
 * @created: Monday, October 07, 2002 00:12:07
 */

#if !defined(ICustomCommandBarView_h_included)
#define ICustomCommandBarView_h_included
//forward declaration of this class might require
namespace core
{ namespace layout
  { class ICustomCommandBarView; }; };
#include <zmodeler.h>
#include <core/layout/layoutTypes.h>
#include <core/layout/ICustomLayoutView.h>


namespace core
{
  namespace layout
  {
    
    class ICustomCommandBarView : public core::layout::ICustomLayoutView
    {
    public:
      virtual ZRESULT getButtonSize(long& cx, long& cy) const=0;
      virtual ZRESULT setBranch(const ZStringSeq& branch)=0;
    
    };//class ICustomCommandBarView
  };//layout
};//core

#endif
