/* HBQueueController
This file is part of the HandBrake source code.
- Homepage: <http://handbrake.m0k.org/>.
+ Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
int h264_level;
int crf;
NSString *x264opts;
-
+ /* Used to concatenate audio list values into a string for display */
+ NSString *audioinfo_codecs;
+ NSString *audioinfo_summary;
+
int audio_mixdowns[8];
int acodec;
int abitrate;
NSMutableArray *fJobs; // array of HBJob
NSMutableAttributedString *fDescription;
BOOL fNeedsDescription;
- float fLastDescriptionHeight;
- float fLastDescriptionWidth;
+ CGFloat fLastDescriptionHeight;
+ CGFloat fLastDescriptionWidth;
HBQueueJobGroupStatus fStatus;
NSString *fPresetName;
}
// Creating a description
- (void) setNeedsDescription: (BOOL)flag;
- (NSMutableAttributedString *) attributedDescription;
-- (float) heightOfDescriptionForWidth:(float)width;
-- (float) lastDescriptionHeight;
+- (CGFloat) heightOfDescriptionForWidth:(CGFloat)width;
+- (CGFloat) lastDescriptionHeight;
@end
//------------------------------------------------------------------------------------
-@interface HBQueueController : NSObject
+@interface HBQueueController : NSWindowController
{
hb_handle_t *fHandle; // reference to libhb
HBController *fHBController; // reference to HBController
#endif
NSTimer *fAnimationTimer; // animates the icon of the current job in the queue outline view
int fAnimationIndex; // used to generate name of image used to animate the current job in the queue outline view
-
- // +---------------fQueueWindow----------------+
+
+ // +------------------window-------------------+
// |+-------------fCurrentJobPane-------------+|
// || ||
// || ||
// || ||
// |+-----------------------------------------+|
// +-------------------------------------------+
-
- IBOutlet NSWindow *fQueueWindow;
// fCurrentJobPane - visible only when processing a job
IBOutlet NSView *fCurrentJobPane;