0023710: Simplification of presentation managment classes
[occt.git] / src / PrsMgr / PrsMgr_Presentation.lxx
index 0e85fc7..1d87c8b 100644 (file)
@@ -5,8 +5,8 @@
 //
 // 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 version 2.1 as published
+// 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.
 
-inline void PrsMgr_Presentation::SetUpdateStatus(const Standard_Boolean TheUpdateStatus)
-{myMustBeUpdated = TheUpdateStatus ;}
+inline void PrsMgr_Presentation::SetUpdateStatus (const Standard_Boolean theUpdateStatus)
+{
+  myMustBeUpdated = theUpdateStatus;
+}
 
-inline Standard_Boolean  PrsMgr_Presentation::MustBeUpdated() const 
-{return myMustBeUpdated;}
+inline Standard_Boolean PrsMgr_Presentation::MustBeUpdated() const
+{
+  return myMustBeUpdated;
+}
 
 inline const Handle(PrsMgr_PresentationManager)& PrsMgr_Presentation::PresentationManager() const 
-{return myPresentationManager;}
+{
+  return myPresentationManager;
+}
+
+inline const Handle(Prs3d_Presentation)& PrsMgr_Presentation::Presentation() const
+{
+  return myStructure;
+}