mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028832: MMgt_TShared can be replaced by Standard_Transient
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include <Quantity_Color.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Aspect_Grid,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Aspect_Grid,Standard_Transient)
|
||||
|
||||
Aspect_Grid::Aspect_Grid(
|
||||
const Standard_Real anXOrigin,
|
||||
|
@@ -23,12 +23,12 @@
|
||||
#include <Quantity_Color.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Aspect_GridDrawMode.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
|
||||
class Aspect_Grid;
|
||||
DEFINE_STANDARD_HANDLE(Aspect_Grid, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Aspect_Grid, Standard_Transient)
|
||||
|
||||
class Aspect_Grid : public MMgt_TShared
|
||||
class Aspect_Grid : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -100,7 +100,7 @@ public:
|
||||
|
||||
Standard_EXPORT virtual void Init() = 0;
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Aspect_Grid,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Aspect_Grid,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -31,7 +31,7 @@
|
||||
#include <Quantity_Color.hxx>
|
||||
#include <Standard_Type.hxx>
|
||||
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Aspect_Window,MMgt_TShared)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(Aspect_Window,Standard_Transient)
|
||||
|
||||
//-Aliases
|
||||
//-Global data definitions
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <Aspect_FBConfig.hxx>
|
||||
#include <Aspect_FillMethod.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <MMgt_TShared.hxx>
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Quantity_Color.hxx>
|
||||
#include <Aspect_GradientFillMethod.hxx>
|
||||
#include <Aspect_TypeOfResize.hxx>
|
||||
@@ -36,10 +36,10 @@ class Aspect_Background;
|
||||
class Aspect_GradientBackground;
|
||||
|
||||
class Aspect_Window;
|
||||
DEFINE_STANDARD_HANDLE(Aspect_Window, MMgt_TShared)
|
||||
DEFINE_STANDARD_HANDLE(Aspect_Window, Standard_Transient)
|
||||
|
||||
//! Defines a window.
|
||||
class Aspect_Window : public MMgt_TShared
|
||||
class Aspect_Window : public Standard_Transient
|
||||
{
|
||||
|
||||
public:
|
||||
@@ -107,7 +107,7 @@ public:
|
||||
//! Returns native Window FB config (GLXFBConfig on Xlib)
|
||||
Standard_EXPORT virtual Aspect_FBConfig NativeFBConfig() const = 0;
|
||||
|
||||
DEFINE_STANDARD_RTTIEXT(Aspect_Window,MMgt_TShared)
|
||||
DEFINE_STANDARD_RTTIEXT(Aspect_Window,Standard_Transient)
|
||||
|
||||
protected:
|
||||
|
||||
|
Reference in New Issue
Block a user