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