/***************************************************************************
 *                          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 ICompatibilityInfo
 *   Provides information about comptibility
 *--------------------------------------------------------------------------
 * @created: Tuesday, November 18, 2003 23:17:43
 */

#if !defined(ICompatibilityInfo_h_included)
#define ICompatibilityInfo_h_included
//forward declaration of this class might require
namespace core
{ class ICompatibilityInfo; class CCompatibilityInfoCol; };
#include <zmodeler.h>
#include <core/coreTypes.h>
#include <core/events/eventsTypes.h>

namespace core
{
  
  class ICompatibilityInfo : public ZUnknown
  {
  public:
    virtual ZRESULT getVertexFormat(DWORD& dwFormat)=0;
    virtual ZRESULT getPolyType(ZPoly::ePolyType& type)=0;
    virtual ZRESULT setRenderTechnique(LPCTSTR pszNodeInterfaceID, ZString strClass)=0;
    virtual ZRESULT getRenderTechnique(LPCTSTR pszNodeInterfaceID, ZString& strClass)=0;
    virtual ZRESULT deleteRenderExtension(LPCTSTR pszNodeInterfaceID, ZString strClass)=0;
    virtual ZRESULT addRenderExtension(LPCTSTR pszNodeInterfaceID, ZString strClass)=0;
    virtual ZRESULT getRenderExtensions(LPCTSTR pszNodeInterfaceID, ZStringSeq& seqExtensions)=0;
    virtual ZRESULT getVertexBitsNames(ZStringSeq& seqNames)=0;
    virtual ZRESULT getPolyBitsNames(ZStringSeq& seqNames)=0;
    virtual ZRESULT getNodeBitsNames(ZStringSeq& seqNames)=0;
    virtual ZRESULT getMaterialClassName(ZString& strMatClass)=0;
    virtual ZRESULT setMaterialClassName(LPCTSTR pszMatClass)=0;
  
  };//class ICompatibilityInfo
  
  //
  // collection template
  //
  class CCompatibilityInfoCol : public ZUnknown,
      public ZIntrCollection<ICompatibilityInfo>
  {
  public:
    INTERFACE_FUNCTIONS_DEFAULT(CCompatibilityInfoCol)
  };//class CCompatibilityInfoCol
};//core

#endif
