// File generated by CPPExt (Transient)
//
//
//                     Copyright (C) 1991 - 2000 by  
//                      Matra Datavision SA.  All rights reserved.
//  
//                     Copyright (C) 2001 - 2004 by
//                     Open CASCADE SA.  All rights reserved.
// 
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//  
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.

#ifndef _WNT_Image_HeaderFile
#define _WNT_Image_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_WNT_Image_HeaderFile
#include <Handle_WNT_Image.hxx>
#endif

#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Aspect_Handle_HeaderFile
#include <Aspect_Handle.hxx>
#endif
class WNT_ImageManager;


//! Internal class for image management <br>
class WNT_Image : public MMgt_TShared {

public:
 // Methods PUBLIC
 // 

//! Creates a class. <br>
Standard_EXPORT WNT_Image(const Aspect_Handle aBitmap,const Standard_Integer aHashCode);

//! Destroys all ressources attached to the Image <br>
Standard_EXPORT virtual  void Destroy() ;
~WNT_Image()
{
  Destroy();
}

//! Returns bitmap handle <br>
  Aspect_Handle HBITMAP() const;
//! Returns pointer to internal structure <br>
  Standard_Address Image() const;


friend class WNT_ImageManager;


 // Type management
 //
 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
 //Standard_EXPORT Standard_Boolean	       IsKind(const Handle(Standard_Type)&) const;

protected:

 // Methods PROTECTED
 // 


 // Fields PROTECTED
 //
Standard_Address myImage;
Standard_Integer myHashCode;


private: 

 // Methods PRIVATE
 // 


 // Fields PRIVATE
 //


};


#include <WNT_Image.lxx>



// other Inline functions and methods (like "C++: function call" methods)
//


#endif
