source: trunk/macosx/StringAdditions.h @ 34

Last change on this file since 34 was 34, checked in by titer, 16 years ago

Imports instead of include
Category for NSString instead of using Utils
Speed string in NSString additions

File size: 423 bytes
Line 
1//
2//  StringAdditions.h
3//  Transmission
4//
5//  Created by Mitchell Livingston on 1/16/06.
6//  Copyright 2006 __MyCompanyName__. All rights reserved.
7//
8
9#import <Cocoa/Cocoa.h>
10
11@interface NSString (StringAdditions)
12
13+ (NSString *) stringForFileSize: (uint64_t) size;
14+ (NSString *) stringForSpeed: (float) speed;
15- (NSString *) stringFittingInWidth: (float) width
16                                        withAttributes: (NSDictionary *) attributes;
17
18@end
Note: See TracBrowser for help on using the repository browser.