Skip to content

Move DisplayInterface.GetDeviceDescription code to DeviceDescription.Parse#35

Merged
rpavlik merged 2 commits intoOSVR:masterfrom
JeroMiya:DisplayInterfaceParseMove
Mar 24, 2015
Merged

Move DisplayInterface.GetDeviceDescription code to DeviceDescription.Parse#35
rpavlik merged 2 commits intoOSVR:masterfrom
JeroMiya:DisplayInterfaceParseMove

Conversation

@JeroMiya
Copy link
Copy Markdown
Contributor

DeviceDescription should have a static Parse method taking a json string value to handle parsing of the DeviceDescription. DisplayInterface.GetDeviceDescription should still handle sourcing the json value (either a static value or from '/display').

This will make it easier to migrate DeviceDescription into the core Managed-OSVR library in the future.

@rpavlik
Copy link
Copy Markdown
Member

rpavlik commented Mar 24, 2015

Good thought, thanks for the patch.

rpavlik added a commit that referenced this pull request Mar 24, 2015
Move DisplayInterface.GetDeviceDescription code to DeviceDescription.Parse
@rpavlik rpavlik merged commit ffe1b17 into OSVR:master Mar 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants