diff options
author | ritsuka <[email protected]> | 2013-10-25 18:21:54 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2013-10-25 18:21:54 +0000 |
commit | ef19311ee492b85995da5446d75e2cc0fdb40549 (patch) | |
tree | bd28a616c62f9a9c2eaa5d56f52795279ebf0adc /macosx/PictureController.h | |
parent | 32a56184a88817091950a94335dbf1036677eaf1 (diff) |
MacGUI: Varius warnings fixes:
- NSUInteger and NSInteger instead of int (where the Cocoa 64bit api uses them).
- Cast to int when needed because NSInteger on 64bit is defined as long.
- NSURL instead of NSString when possible.
- Replaced some deprecated methods/functions.
- numberWithInteger instead of numberWithInt.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5854 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.h')
-rw-r--r-- | macosx/PictureController.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/macosx/PictureController.h b/macosx/PictureController.h index f738ba24e..50e6758e7 100644 --- a/macosx/PictureController.h +++ b/macosx/PictureController.h @@ -15,7 +15,7 @@ //#define HB_NUM_HBLIB_PICTURES 20 // # of preview pictures libhb should generate -@interface PictureController : NSWindowController +@interface PictureController : NSWindowController <NSWindowDelegate> { hb_handle_t * fHandle; hb_title_t * fTitle; @@ -150,13 +150,13 @@ struct { - int detelecine; - int deinterlace; - int decomb; - int usedecomb; - int denoise; - int deblock; - int grayscale; + NSInteger detelecine; + NSInteger deinterlace; + NSInteger decomb; + NSInteger usedecomb; + NSInteger denoise; + NSInteger deblock; + NSInteger grayscale; } fPictureFilterSettings; } @@ -200,34 +200,34 @@ - (void) decombDeinterlacePreviewImage; -- (int) detelecine; +- (NSInteger) detelecine; - (NSString*) detelecineCustomString; -- (void) setDetelecine: (int) setting; +- (void) setDetelecine: (NSInteger) setting; - (void) setDetelecineCustomString: (NSString*) string; -- (int) useDecomb; -- (void) setUseDecomb: (int) setting; +- (NSInteger) useDecomb; +- (void) setUseDecomb: (NSInteger) setting; -- (int) decomb; +- (NSInteger) decomb; - (NSString*) decombCustomString; -- (void) setDecomb: (int) setting; +- (void) setDecomb: (NSInteger) setting; - (void) setDecombCustomString: (NSString*) string; -- (int) deinterlace; +- (NSInteger) deinterlace; - (NSString*) deinterlaceCustomString; -- (void) setDeinterlace: (int) setting; +- (void) setDeinterlace: (NSInteger) setting; - (void) setDeinterlaceCustomString: (NSString*) string; -- (int) denoise; +- (NSInteger) denoise; - (NSString*) denoiseCustomString; -- (void) setDenoise: (int) setting; +- (void) setDenoise: (NSInteger) setting; - (void) setDenoiseCustomString: (NSString*) string; -- (int) deblock; -- (void) setDeblock: (int) setting; +- (NSInteger) deblock; +- (void) setDeblock: (NSInteger) setting; -- (int) grayscale; -- (void) setGrayscale: (int) setting; +- (NSInteger) grayscale; +- (void) setGrayscale: (NSInteger) setting; |