mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
Each .cpp/.mm file includes corresponding header before any other...
... except Audacity.h This forces us to make each header contain all forward declarations or nested headers that it requires, rather than depend on context.
This commit is contained in:
@@ -13,13 +13,14 @@
|
||||
|
||||
*//*******************************************************************/
|
||||
|
||||
#include "XMLFileReader.h"
|
||||
|
||||
#include <wx/defs.h>
|
||||
#include <wx/ffile.h>
|
||||
#include <wx/intl.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "XMLFileReader.h"
|
||||
#include "../Internat.h"
|
||||
|
||||
XMLFileReader::XMLFileReader()
|
||||
|
||||
@@ -25,6 +25,7 @@ the general functionality for creating XML in UTF8 encoding.
|
||||
*//*******************************************************************/
|
||||
|
||||
#include "../Audacity.h"
|
||||
#include "XMLWriter.h"
|
||||
|
||||
#include <wx/defs.h>
|
||||
#include <wx/ffile.h>
|
||||
@@ -33,7 +34,6 @@ the general functionality for creating XML in UTF8 encoding.
|
||||
#include <string.h>
|
||||
|
||||
#include "../Internat.h"
|
||||
#include "XMLWriter.h"
|
||||
|
||||
//table for xml encoding compatibility with expat decoding
|
||||
//see wxWidgets-2.8.12/src/expat/lib/xmltok_impl.h
|
||||
|
||||
Reference in New Issue
Block a user