mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024202: Support class methods as callbacks for Draw Harness commands
This commit is contained in:
@@ -45,6 +45,8 @@ Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(C1); \
|
||||
\
|
||||
class Handle(C1) : public Handle(C2) { \
|
||||
public: \
|
||||
typedef C1 element_type;\
|
||||
\
|
||||
Handle(C1)():Handle(C2)() {} \
|
||||
\
|
||||
Handle(C1)(const Handle(C1)& aHandle) : Handle(C2)(aHandle) {} \
|
||||
|
Reference in New Issue
Block a user