Switch to clang-format for code formatting, include Mac client

This commit is contained in:
Mike Gelfand
2021-08-15 12:41:48 +03:00
parent 409f59889b
commit db3d40d0ed
349 changed files with 16657 additions and 12081 deletions

View File

@@ -33,36 +33,38 @@
@interface InfoWindowController : NSWindowController
{
NSArray * fTorrents;
NSArray* fTorrents;
CGFloat fMinWindowWidth;
NSViewController <InfoViewController> * fViewController;
NSViewController<InfoViewController>* fViewController;
NSInteger fCurrentTabTag;
IBOutlet NSMatrix * fTabMatrix;
IBOutlet NSMatrix* fTabMatrix;
InfoGeneralViewController * fGeneralViewController;
InfoActivityViewController * fActivityViewController;
InfoTrackersViewController * fTrackersViewController;
InfoPeersViewController * fPeersViewController;
InfoFileViewController * fFileViewController;
InfoOptionsViewController * fOptionsViewController;
InfoGeneralViewController* fGeneralViewController;
InfoActivityViewController* fActivityViewController;
InfoTrackersViewController* fTrackersViewController;
InfoPeersViewController* fPeersViewController;
InfoFileViewController* fFileViewController;
InfoOptionsViewController* fOptionsViewController;
IBOutlet NSImageView * fImageView;
IBOutlet NSTextField * fNameField, * fBasicInfoField, * fNoneSelectedField;
IBOutlet NSImageView* fImageView;
IBOutlet NSTextField* fNameField;
IBOutlet NSTextField* fBasicInfoField;
IBOutlet NSTextField* fNoneSelectedField;
}
- (void) setInfoForTorrents: (NSArray *) torrents;
- (void) updateInfoStats;
- (void) updateOptions;
- (void)setInfoForTorrents:(NSArray*)torrents;
- (void)updateInfoStats;
- (void)updateOptions;
- (void) setTab: (id) sender;
- (void)setTab:(id)sender;
- (void) setNextTab;
- (void) setPreviousTab;
- (void)setNextTab;
- (void)setPreviousTab;
@property (nonatomic, readonly) NSArray *quickLookURLs;
@property (nonatomic, readonly) BOOL canQuickLook;
- (NSRect) quickLookSourceFrameForPreviewItem: (id <QLPreviewItem>) item;
@property(nonatomic, readonly) NSArray* quickLookURLs;
@property(nonatomic, readonly) BOOL canQuickLook;
- (NSRect)quickLookSourceFrameForPreviewItem:(id<QLPreviewItem>)item;
@end