Permalink
Browse files

Not import header files which have already imported indirectly.

Thus Doxygen can generate more clearer include dependency graph.
[InkpadDoxygen](https://github.com/rhcad/InkpadDoxygen) is a generator example using Doxygen.
  • Loading branch information...
rhcad committed Apr 20, 2014
1 parent a6509b2 commit 55b9046bab38a81477cbdbc98b1d26d5457744d0
@@ -10,8 +10,6 @@
//
#import <UIKit/UIKit.h>
-#import "WDElement.h"
-#import "WDStrokeStyle.h"
@class WDCanvas;
@class WDColorBalanceController;
@@ -11,7 +11,6 @@
#import <Twitter/Twitter.h>
#import <MessageUI/MessageUI.h>
-#import "WDAbstractPath.h"
#import "WDButton.h"
#import "WDCanvas.h"
#import "WDCanvasController.h"
@@ -30,7 +29,6 @@
#import "WDLayerController.h"
#import "WDMenu.h"
#import "WDMenuItem.h"
-#import "WDPath.h"
#import "WDPropertyManager.h"
#import "WDRotateTool.h"
#import "WDSelectionTool.h"
@@ -14,7 +14,6 @@
#import "WDCanvas.h"
#import "WDDrawingController.h"
#import "WDColorAdjustmentController.h"
-#import "WDDrawing.h"
#import "WDModalTitleBar.h"
#import "WDPaletteBackgroundView.h"
#import "UIView+Additions.h"
@@ -12,7 +12,6 @@
#import "WDDrawingController.h"
#import "WDColor.h"
#import "WDColorSlider.h"
-#import "WDElement.h"
#import "WDHueSaturationController.h"
#import "WDHueShifter.h"
@@ -12,8 +12,6 @@
#import "WDBezierNode.h"
#import "WDCanvas.h"
#import "WDDrawingController.h"
-#import "WDDrawing.h"
-#import "WDElement.h"
#import "WDGLUtilities.h"
#import "WDLayer.h"
#import "WDPath.h"
@@ -16,19 +16,16 @@
#import "NSArray+Additions.h"
#import "NSString+Additions.h"
#import "UIImage+Additions.h"
-#import "WDAbstractPath.h"
#import "WDBezierNode.h"
#import "WDColor.h"
#import "WDCompoundPath.h"
-#import "WDDrawing.h"
#import "WDDrawingController.h"
#import "WDDynamicGuideController.h"
#import "WDFontManager.h"
#import "WDGroup.h"
#import "WDImage.h"
#import "WDInspectableProperties.h"
#import "WDLayer.h"
-#import "WDPath.h"
#import "WDPathfinder.h"
#import "WDPropertyManager.h"
#import "WDText.h"
@@ -9,7 +9,6 @@
// Copyright (c) 2011-2013 Steve Sprang
//
-#import "WDAbstractPath.h"
#import "WDColor.h"
#import "WDDrawingController.h"
#import "WDFontManager.h"
@@ -11,7 +11,6 @@
#import <Foundation/Foundation.h>
#import "WDStylable.h"
-#import "WDStrokeStyle.h"
@protocol WDPathPainter;
@@ -13,7 +13,6 @@
#import <UIKit/UIKit.h>
#endif
-#import "WDAbstractPath.h"
#import "WDArrowhead.h"
#import "WDColor.h"
#import "WDCompoundPath.h"
@@ -11,7 +11,6 @@
#import "FitCurves.h"
#import "WDBezierNode.h"
-#import "WDBezierSegment.h"
#import "WDCurveFit.h"
#import "WDPath.h"
#import "WDUtilities.h"
@@ -16,8 +16,6 @@
#import "UIColor+Additions.h"
#import "WDColor.h"
#import "WDDocumentProtocol.h"
-#import "WDDrawing.h"
-#import "WDElement.h"
#import "WDImage.h"
#import "WDImageData.h"
#import "WDLayer.h"
@@ -11,13 +11,10 @@
#import "UIColor+Additions.h"
#import "WDColor.h"
-#import "WDDrawing.h"
-#import "WDElement.h"
#import "WDGLUtilities.h"
#import "WDGroup.h"
#import "WDInspectableProperties.h"
#import "WDLayer.h"
-#import "WDPickResult.h"
#import "WDPropertyManager.h"
#import "WDShadow.h"
#import "WDSVGHelper.h"
@@ -15,14 +15,11 @@
#endif
#import "UIColor+Additions.h"
-#import "WDBezierSegment.h"
#import "WDColor.h"
-#import "WDDrawing.h"
#import "WDGLUtilities.h"
#import "WDImage.h"
#import "WDImageData.h"
#import "WDLayer.h"
-#import "WDPickResult.h"
#import "WDShadow.h"
#import "WDSVGHelper.h"
#import "WDUtilities.h"
@@ -10,7 +10,6 @@
//
#import "UIColor+Additions.h"
-#import "WDDrawing.h"
#import "WDElement.h"
#import "WDLayer.h"
#import "WDSVGHelper.h"
@@ -12,7 +12,6 @@
#import "UIColor+Additions.h"
#import "WDArrowhead.h"
#import "WDBezierNode.h"
-#import "WDBezierSegment.h"
#import "WDColor.h"
#import "WDCompoundPath.h"
#import "WDFillTransform.h"
@@ -17,9 +17,7 @@
#import <CoreText/CoreText.h>
#import "NSString+Additions.h"
#import "UIColor+Additions.h"
-#import "WDBezierSegment.h"
#import "WDColor.h"
-#import "WDDrawing.h"
#import "WDFillTransform.h"
#import "WDFontManager.h"
#import "WDGLUtilities.h"
@@ -18,7 +18,6 @@
#import "NSString+Additions.h"
#import "UIColor+Additions.h"
#import "WDBezierNode.h"
-#import "WDBezierSegment.h"
#import "WDColor.h"
#import "WDFillTransform.h"
#import "WDFontManager.h"
@@ -12,9 +12,6 @@
//
#import <Foundation/Foundation.h>
-#import "WDDrawing.h"
-#import "WDSVGElement.h"
-#import "WDSVGParserStateStack.h"
#import "WDSVGStyleParser.h"
#import "WDSVGTransformParser.h"
@@ -20,8 +20,6 @@
#import "WDGroup.h"
#import "WDImage.h"
#import "WDLayer.h"
-#import "WDPath.h"
-#import "WDSVGElement.h"
#import "WDSVGParser.h"
#import "WDSVGPathParser.h"
#import "WDText.h"
@@ -11,7 +11,6 @@
// Copyright (c) 2011-2013 Steve Sprang
//
-#import "WDAbstractPath.h"
#import "WDColor.h"
#import "WDFillTransform.h"
#import "WDGradient.h"
@@ -13,7 +13,6 @@
#import "WDCanvas.h"
#import "WDColor.h"
#import "WDCurveFit.h"
-#import "WDDrawing.h"
#import "WDDrawingController.h"
#import "WDEraserTool.h"
#import "WDPath.h"
@@ -12,7 +12,6 @@
#import "WDEyedropperTool.h"
#import "WDCanvas.h"
#import "WDDrawingController.h"
-#import "WDElement.h"
#import "WDImage.h"
#import "WDInspectableProperties.h"
#import "WDPickResult.h"
@@ -13,7 +13,6 @@
#import "WDCanvas.h"
#import "WDColor.h"
#import "WDCurveFit.h"
-#import "WDDrawing.h"
#import "WDDrawingController.h"
#import "WDFreehandTool.h"
#import "WDInspectableProperties.h"
@@ -12,7 +12,6 @@
#import "WDBezierNode.h"
#import "WDCanvas.h"
#import "WDDrawingController.h"
-#import "WDDrawing.h"
#import "WDFillTransform.h"
#import "WDInspectableProperties.h"
#import "WDPath.h"
@@ -9,7 +9,6 @@
// Copyright (c) 2011-2013 Steve Sprang
//
-#import "WDAbstractPath.h"
#import "WDBezierNode.h"
#import "WDCanvas.h"
#import "WDCanvasController.h"
@@ -18,7 +17,6 @@
#import "WDDynamicGuideController.h"
#import "WDDrawingController.h"
#import "WDFillTransform.h"
-#import "WDPath.h"
#import "WDPropertyManager.h"
#import "WDSelectionTool.h"
#import "WDTextPath.h"
@@ -10,10 +10,8 @@
//
-#import "WDAbstractPath.h"
#import "WDBezierNode.h"
#import "WDCanvas.h"
-#import "WDDrawing.h"
#import "WDDrawingController.h"
#import "WDDynamicGuideController.h"
#import "WDInspectableProperties.h"
@@ -13,7 +13,6 @@
#import "WDCanvas.h"
#import "WDCanvasController.h"
#import "WDColor.h"
-#import "WDDrawing.h"
#import "WDDrawingController.h"
#import "WDPath.h"
#import "WDText.h"
@@ -10,7 +10,6 @@
//
#import "WDCanvas.h"
-#import "WDDrawing.h"
#import "WDDrawingController.h"
#import "WDPickResult.h"
#import "WDTool.h"
@@ -8,7 +8,6 @@
#include "Path.h"
#include "Shape.h"
-#include "MyMath.h"
#include <math.h>
@@ -8,7 +8,6 @@
#include "Path.h"
#include "Shape.h"
-#include "MyMath.h"
void Path::ConvertWithBackData(float treshhold)
{
@@ -7,7 +7,6 @@
*/
#include "Shape.h"
-#include "LivarotDefs.h"
#include "MyMath.h"
@@ -7,7 +7,6 @@
*/
#include "Shape.h"
-#include "LivarotDefs.h"
#include "MyMath.h"
SweepEvent::SweepEvent()
@@ -11,7 +11,6 @@
#import "OCAThumbnailCell.h"
#import "OCAEntry.h"
-#import "OCAThumbnailCache.h"
#import "UIView+Additions.h"
@interface OCAThumbnailCell ()

0 comments on commit 55b9046

Please sign in to comment.