summaryrefslogtreecommitdiff
path: root/inc/WNT_Image.hxx
blob: 234b05726921f3bb67c2a6504437f20bc8743a13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _WNT_Image_HeaderFile
#define _WNT_Image_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.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:

  //! 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;


  DEFINE_STANDARD_RTTI(WNT_Image)

protected:


Standard_Address myImage;
Standard_Integer myHashCode;


private: 




};


#include <WNT_Image.lxx>



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


#endif