Skip to content
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

Move DiscIO enums to a new file #3983

Merged
merged 1 commit into from Jul 13, 2016
Merged

Conversation

JosJuice
Copy link
Member

@JosJuice JosJuice commented Jul 6, 2016

At first there weren't many enums in Volume.h, but the number has been growing, and I'm planning to add one more for regions. To not make Volume.h too large, and to avoid needing to include Volume.h in code that doesn't use volume objects, I'm moving the enums to a new file. I'm also turning them into enum classes while I'm at it.


This change is Reviewable

@JosJuice JosJuice force-pushed the discio-enums branch 2 times, most recently from 38f8fd6 to 04a1d00 Compare July 11, 2016 10:33
@Parlane
Copy link
Member

Parlane commented Jul 13, 2016

Reviewed 50 of 50 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@delroth
Copy link
Member

delroth commented Jul 13, 2016

Can you remove the "E" prefix from these enum names? I know that DiscIO has weird conventions regarding that ("I"/"C") but we should try to get rid of it in new code.

@JosJuice
Copy link
Member Author

The E prefixes have been removed.

At first there weren't many enums in Volume.h, but the number has been
growing, and I'm planning to add one more for regions. To not make
Volume.h too large, and to avoid needing to include Volume.h in code
that doesn't use volume objects, I'm moving the enums to a new file.
I'm also turning them into enum classes while I'm at it.
@delroth delroth merged commit 014037e into dolphin-emu:master Jul 13, 2016
@JosJuice JosJuice deleted the discio-enums branch July 13, 2016 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants