/***************************************************************************
 *                          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 INodeListControl
 *   Control which displays nodes list allowing user to
 *   select node(s). Control can display all nodes,
 *   desired subset of nodes or nodes which support
 *   supplied interface_ID.
 *   
 *   core::ui::controls::IListControl can be queried on
 *   this interface to obtain underlying list conrol.
 *--------------------------------------------------------------------------
 * @created: Tuesday, April 27, 2004 17:38:44
 */

#if !defined(INodeListControl_h_included)
#define INodeListControl_h_included
//forward declaration of this class might require
namespace shared
{ class INodeListControl; };
#include <zmodeler.h>

#include <scene/INode.h>


namespace shared
{
  
  class INodeListControl : public ZUnknown
  {
  public:
    virtual ZRESULT displayNodesByIID(LPCTSTR pszIID, scene::CNodeCol* pSelection, scene::CNodeCol* pExclude=NULL)=0;
    virtual ZRESULT displayAllNodes(scene::CNodeCol* pSelection, scene::CNodeCol* pExclude=NULL)=0;
    virtual ZRESULT displayNodes(scene::CNodeCol* pColNodes, scene::CNodeCol* pSelection)=0;
    virtual ZRESULT getNodeOrdinal(scene::INode* pNode, long& nOrdinal)=0;
  
  };//class INodeListControl
};//shared

#endif
