We have a naming convention for header files, P_ or I_ prefix. Details are
described in below.

> # Header files
> In most subsystems, header files are named with a P_ or I_ prefix. P_
files should contain
> any types and definitions that are private to the subsystem, while the
public interface
> should be contained in a I_-prefixed header.

https://cwiki.apache.org/confluence/display/TS/Coding+Style#CodingStyle-Headerfiles

But this looks obsoleted 1). many subsystem don't follow this rule, 2).
even if this rule is
followed, P_ files (subsystem private header files) are included from out
side of subsystem.
(e.g. P_Net.h, P_EventSystem.h )

The consensus at last summit was we should remove this rule.

If there’re any real use case of subsystem private header files, we can
move them a directory
under the subsystem and include them internally.

Any thoughts?

Thanks,
Masaori

Reply via email to