- (NSImage *) icon;
- (NSString *) name;
+- (NSInteger) queuePosition;
- (BOOL) isFolder;
- (uint64_t) size;
- (uint64_t) sizeLeft;
- (NSString *) name
{
- return [NSString stringWithFormat: @"%d %@", fStat->queuePosition, fInfo->name != NULL ? [NSString stringWithUTF8String: fInfo->name] : fHashString];
- //return fInfo->name != NULL ? [NSString stringWithUTF8String: fInfo->name] : fHashString;
+ return fInfo->name != NULL ? [NSString stringWithUTF8String: fInfo->name] : fHashString;
+}
+
+#warning remove
+- (NSInteger) queuePosition
+{
+ return fStat->queuePosition;
}
- (BOOL) isFolder
- (NSAttributedString *) attributedTitle
{
- NSString * title = [[self representedObject] name];
+ NSString * title = [NSString stringWithFormat: @"%d %@", [[self representedObject] queuePosition], [[self representedObject] name]];
+ //NSString * title = [[self representedObject] name];
return [[[NSAttributedString alloc] initWithString: title attributes: fTitleAttributes] autorelease];
}