Use .inc.h for #include files that not are plain headers
Regular .h files *should* be self-contained and independent of previous includes and guarded to only include once. Make it clear which files that *doesn't* apply for at all.
This commit is contained in:
@@ -35,7 +35,7 @@ using namespace ARDOUR;
|
||||
using namespace Glib;
|
||||
using namespace PBD;
|
||||
|
||||
#include "pbd/abstract_ui.cc" // instantiate template
|
||||
#include "pbd/abstract_ui.inc.cc" // instantiate template
|
||||
|
||||
MIDISurface::MIDISurface (ARDOUR::Session& s, std::string const & namestr, std::string const & port_prefix, bool use_pad_filter)
|
||||
: ControlProtocol (s, namestr)
|
||||
|
||||
Reference in New Issue
Block a user