0022815: Missing delete operator for placement new
[occt.git] / src / OpenGl / OpenGl_Element.hxx
1 // File:      OpenGl_Element.hxx
2 // Created:   5 August 2011
3 // Author:    Sergey ZERCHANINOV
4 // Copyright: OPEN CASCADE 2011
5
6 #ifndef OpenGl_Element_Header
7 #define OpenGl_Element_Header
8
9 #include <OpenGl_Workspace.hxx>
10
11 class OpenGl_Element
12 {
13  public:
14   OpenGl_Element () {}
15   virtual ~OpenGl_Element () {}
16
17   virtual void Render (const Handle(OpenGl_Workspace) &AWorkspace) const = 0;
18
19  public:
20   DEFINE_STANDARD_ALLOC
21 };
22
23 #endif //OpenGl_Element_Header