root/branches/perian-1.1/Subtitles/SubUtilities.h

Revision 697, 0.6 kB (checked in by astrange, 1 year ago)

SSA: Fix box borders and suppport Layer. Refs #244

Line 
1 //
2 //  SubUtilities.h
3 //  SSARender2
4 //
5 //  Created by Alexander Strange on 7/28/07.
6 //  Copyright 2007 __MyCompanyName__. All rights reserved.
7 //
8
9 #import <Cocoa/Cocoa.h>
10
11 #ifdef __cplusplus
12 extern "C"
13 {
14 #endif
15        
16 extern NSArray *STSplitStringIgnoringWhitespace(NSString *str, NSString *split);
17 extern NSArray *STSplitStringWithCount(NSString *str, NSString *split, size_t count);
18 extern NSMutableString *STStandardizeStringNewlines(NSString *str);
19 extern NSString *STLoadFileWithUnknownEncoding(NSString *path);
20 extern void STSortMutableArrayStably(NSMutableArray *array, int (*compare)(const void *, const void *));
21 #ifdef __cplusplus
22 }
23 #endif
Note: See TracBrowser for help on using the browser.