mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0027566: Configuration - define Handle_ as non-template class for compatibility with C++/CLI
For MSVC compiler (version 12 and above), Handle_Class types are defined as true classes (inheriting corresponding opencascade::handle<Class>) to allow using them in "public" statement of C++/CLI language, to make these classes recognizable by other C++/CLI libraries. Code to test operations with Handle_ class is added to QAHandleOps test command
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
|
||||
#include <Graphic3d_TextureRoot.hxx>
|
||||
#include <Graphic3d_TypeOfTexture.hxx>
|
||||
#include <Image_PixMap_Handle.hxx>
|
||||
#include <Standard_Boolean.hxx>
|
||||
#include <Graphic3d_LevelOfTextureAnisotropy.hxx>
|
||||
class TCollection_AsciiString;
|
||||
@@ -95,7 +94,7 @@ protected:
|
||||
|
||||
Standard_EXPORT Graphic3d_TextureMap(const TCollection_AsciiString& theFileName, const Graphic3d_TypeOfTexture theType);
|
||||
|
||||
Standard_EXPORT Graphic3d_TextureMap(const Image_PixMap_Handle& thePixMap, const Graphic3d_TypeOfTexture theType);
|
||||
Standard_EXPORT Graphic3d_TextureMap(const Handle(Image_PixMap)& thePixMap, const Graphic3d_TypeOfTexture theType);
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user