Skip to content
Snippets Groups Projects
  • Lioncash's avatar
    core: Make the main System class use the PImpl idiom · e2457418
    Lioncash authored
    core.h is kind of a massive header in terms what it includes within
    itself. It includes VFS utilities, kernel headers, file_sys header,
    ARM-related headers, etc. This means that changing anything in the
    headers included by core.h essentially requires you to rebuild almost
    all of core.
    
    Instead, we can modify the System class to use the PImpl idiom, which
    allows us to move all of those headers to the cpp file and forward
    declare the bulk of the types that would otherwise be included, reducing
    compile times. This change specifically only performs the PImpl portion.
    e2457418