Integration of OCCT 6.5.0 from SVN
[occt.git] / src / XSControl / XSControl.cxx
CommitLineData
7fd59977 1#include <XSControl.ixx>
2
3 Handle(XSControl_WorkSession) XSControl::Session
4 (const Handle(IFSelect_SessionPilot)& pilot)
5 { return Handle(XSControl_WorkSession)::DownCast(pilot->Session()); }
6
7
8 Handle(XSControl_Vars) XSControl::Vars
9 (const Handle(IFSelect_SessionPilot)& pilot)
10{
11 Handle(XSControl_Vars) avars;
12 Handle(XSControl_WorkSession) WS = XSControl::Session(pilot);
13 if (!WS.IsNull()) avars = WS->Vars();
14 return avars;
15}