move some #imports out of header files

This commit is contained in:
Mitchell Livingston 2009-10-11 02:22:38 +00:00
parent 6f33403a0c
commit 1642a05ebc
4 changed files with 22 additions and 14 deletions

View File

@ -24,18 +24,18 @@
#import <Cocoa/Cocoa.h>
#import <transmission.h>
#import "PrefsController.h"
#import "InfoWindowController.h"
#import "MessageWindowController.h"
#import "AddWindowController.h"
#import "DragOverlayWindow.h"
#import "Badger.h"
#import <Growl/Growl.h>
@class TorrentTableView;
@class StatusBarView;
@class AddWindowController;
@class Badger;
@class DragOverlayWindow;
@class FilterButton;
@class InfoWindowController;
@class MessageWindowController;
@class PrefsController;
@class StatusBarView;
@class Torrent;
@class TorrentTableView;
typedef enum
{

View File

@ -32,8 +32,12 @@
#import "TorrentTableView.h"
#import "CreatorWindowController.h"
#import "StatsWindowController.h"
#import "InfoWindowController.h"
#import "PrefsController.h"
#import "GroupsController.h"
#import "AboutWindowController.h"
#import "AddWindowController.h"
#import "MessageWindowController.h"
#import "ButtonToolbarItem.h"
#import "GroupToolbarItem.h"
#import "ToolbarSegmentedCell.h"
@ -41,6 +45,8 @@
#import "StatusBarView.h"
#import "FilterButton.h"
#import "BonjourController.h"
#import "Badger.h"
#import "DragOverlayWindow.h"
#import "NSApplicationAdditions.h"
#import "NSStringAdditions.h"
#import "ExpandedPathToPathTransformer.h"

View File

@ -24,9 +24,10 @@
#import <Cocoa/Cocoa.h>
#import <transmission.h>
#import "Controller.h"
#import <Quartz/Quartz.h>
@class Controller;
@class Torrent;
@class TorrentCell;
#define GROUP_SEPARATOR_HEIGHT 18.0

View File

@ -23,11 +23,12 @@
*****************************************************************************/
#import "TorrentTableView.h"
#import "TorrentCell.h"
#import "Torrent.h"
#import "TorrentGroup.h"
#import "Controller.h"
#import "FileListNode.h"
#import "NSApplicationAdditions.h"
#import "Torrent.h"
#import "TorrentCell.h"
#import "TorrentGroup.h"
#define MAX_GROUP 999999