mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0026033: Coding rules - get rid from _Handle classes
This commit is contained in:
@@ -133,9 +133,7 @@ is
|
||||
|
||||
deferred class ColorScale;
|
||||
|
||||
imported DisplayConnection;
|
||||
|
||||
imported DisplayConnection_Handle;
|
||||
imported transient class DisplayConnection;
|
||||
|
||||
-------------------------
|
||||
-- Category: Enumerations
|
||||
|
@@ -15,7 +15,6 @@
|
||||
#define _Aspect_DisplayConnection_H__
|
||||
|
||||
#include <Standard_Transient.hxx>
|
||||
#include <Aspect_DisplayConnection_Handle.hxx>
|
||||
#include <Aspect_XAtom.hxx>
|
||||
|
||||
#include <TCollection_AsciiString.hxx>
|
||||
@@ -81,4 +80,6 @@ public:
|
||||
|
||||
};
|
||||
|
||||
DEFINE_STANDARD_HANDLE (Aspect_DisplayConnection, Standard_Transient)
|
||||
|
||||
#endif // _Aspect_DisplayConnection_H__
|
||||
|
@@ -1,25 +0,0 @@
|
||||
// Copyright (c) 2013-2014 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef _Aspect_DisplayConnection_Handle_H__
|
||||
#define _Aspect_DisplayConnection_Handle_H__
|
||||
|
||||
#include <Standard_Transient.hxx>
|
||||
|
||||
// Handle for DisplayConnection;
|
||||
|
||||
class Aspect_DisplayConnection;
|
||||
DEFINE_STANDARD_HANDLE(Aspect_DisplayConnection, Standard_Transient)
|
||||
typedef Handle(Aspect_DisplayConnection) Aspect_DisplayConnection_Handle;
|
||||
|
||||
#endif // _Aspect_DisplayConnection_Handle_H__
|
@@ -14,4 +14,3 @@ Aspect_GradientBackground.cxx
|
||||
Aspect_Convert.hxx
|
||||
Aspect_DisplayConnection.hxx
|
||||
Aspect_DisplayConnection.cxx
|
||||
Aspect_DisplayConnection_Handle.hxx
|
||||
|
Reference in New Issue
Block a user