Integrate XCUI shell state and runtime frame seams
This commit is contained in:
@@ -75,6 +75,12 @@ const UIScreenFrameResult& UIScreenPlayer::GetLastFrame() const {
|
||||
return m_lastFrame;
|
||||
}
|
||||
|
||||
UIScreenFrameResult UIScreenPlayer::ConsumeLastFrame() {
|
||||
UIScreenFrameResult frame = std::move(m_lastFrame);
|
||||
m_lastFrame = {};
|
||||
return frame;
|
||||
}
|
||||
|
||||
const std::string& UIScreenPlayer::GetLastError() const {
|
||||
return m_lastError;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user