Use forward declaration where possible.
This commit is contained in:
parent
0e7149a695
commit
d769e9d3e2
|
@ -26,6 +26,7 @@
|
|||
**
|
||||
*************************************************************************/
|
||||
#include "vpuzzlelayout.h"
|
||||
#include "vpuzzlelayer.h"
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
VPuzzleLayout::VPuzzleLayout() :
|
||||
|
|
|
@ -31,9 +31,11 @@
|
|||
#include <QSizeF>
|
||||
#include <QMarginsF>
|
||||
#include <QList>
|
||||
#include "vpuzzlelayer.h"
|
||||
|
||||
#include "def.h"
|
||||
|
||||
class VPuzzleLayer;
|
||||
|
||||
// is this the right place for the definition?
|
||||
enum class FollowGrainline : qint8 { No = 0, Follow90 = 1, Follow180 = 2};
|
||||
|
||||
|
|
|
@ -27,6 +27,10 @@
|
|||
*************************************************************************/
|
||||
|
||||
#include "vpuzzlelayoutfilewriter.h"
|
||||
#include "vpuzzlelayout.h"
|
||||
#include "vpuzzlelayer.h"
|
||||
#include "vpuzzlepiece.h"
|
||||
#include "layoutliterals.h"
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
VPuzzleLayoutFileWriter::VPuzzleLayoutFileWriter()
|
||||
|
|
|
@ -31,9 +31,10 @@
|
|||
|
||||
#include <QXmlStreamWriter>
|
||||
#include "../ifc/xml/vabstractconverter.h"
|
||||
#include "vpuzzlelayout.h"
|
||||
#include "vpuzzlelayer.h"
|
||||
#include "vpuzzlepiece.h"
|
||||
|
||||
class VPuzzleLayout;
|
||||
class VPuzzleLayer;
|
||||
class VPuzzlePiece;
|
||||
|
||||
class VPuzzleLayoutFileWriter : public QXmlStreamWriter
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user