/***************************************************************************
 *                          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 IDialogDisplayService
 *--------------------------------------------------------------------------
 * @created: Wednesday, July 02, 2003 11:21:45
 */

#if !defined(IDialogDisplayService_h_included)
#define IDialogDisplayService_h_included
//forward declaration of this class might require
namespace services
{ class IDialogDisplayService; };
#include <zmodeler.h>
#include <core/coreTypes.h>
#include <services/zmServices.h>
#include <services/IUIService.h>
#include <core/layout/IChildDialog.h>


namespace services
{
  
  class IDialogDisplayService : public services::IUIService
  {
  public:
    /* Creates the service in supplied window in supplied rectangle */
    virtual ZRESULT create(HWND hOwnerWnd, ZRect rect, HWND* hThisWnd=NULL)=0;
    virtual ZRESULT showDialog(core::layout::IChildDialog* pDialog, bool bShow=true)=0;
  
  };//class IDialogDisplayService
};//services

#endif
