/***************************************************************************
 *                          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 IToolBarService
 *   Service for controlling single Toolbar. Service transparently inherits
 *   - core::IProfileable
 *   - core::INamed
 *--------------------------------------------------------------------------
 * @created: Friday, January 10, 2003 16:01:15
 */

#if !defined(IToolBarService_h_included)
#define IToolBarService_h_included
//forward declaration of this class might require
namespace services
{ class IToolBarService; class CToolBarServiceCol; };
#include <zmodeler.h>
#include <core/coreTypes.h>
#include <services/zmServices.h>
#include <services/IUIService.h>
#include <core/ui/IToolBar.h>


namespace services
{
  
  class IToolBarService : public services::IUIService
  {
  public:
    virtual ZRESULT getToolBar(core::ui::IToolBar** ppToolbar)=0;
  
  };//class IToolBarService
  
  //
  // collection template
  //
  class CToolBarServiceCol : public ZUnknown,
      public ZIntrCollection<IToolBarService>
  {
  public:
    INTERFACE_FUNCTIONS_DEFAULT(CToolBarServiceCol)
  };//class CToolBarServiceCol
};//services

#endif
