KiCad PCB EDA Suite
Derive PROJECT elements from this, it has a virtual destructor, and Elem*() functions can work with it. Implementation is opaque in class PROJECT. If find you have to include derived class headers in this file, you are doing incompatible with the goal of this class. Keep knowledge of derived classes opaque to class PROJECT please.