New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HW/DVD: Refactor DVDInterface and DVDThread to classes. #11637
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we name the class DVDInterface instead of DVDInterfaceManager? Manager doesn't really add anything to the name.
0f756c6
to
dca8e9d
Compare
|
A side note: When I created DVDThread, I designed it as something that only DVDInterface should have to deal with accessing. So it would be nice to make DVDThread a private member of the DVDInterface class instead of making it accessible through the System class... But DI.cpp is currently violating this model, so let's keep this outside the scope of the PR. |
The reason I added
Yeah I was wondering about that. That does make sense to change later. |
|
Right, I hadn't thought about the namespace. What would you think about changing the namespace to e.g. |
|
Sure, I guess we can do it that way. |
3dce308
to
ee35103
Compare
|
Can we do the same for DVDThread? (This will mean it now shares a namespace with DVDInterface, which I think is fine. When they're in separate classes, we no longer need to use the namespace to keep them apart.) |
93292ba
to
d31733c
Compare
No description provided.