summaryrefslogtreecommitdiffstats
path: root/macosx/HBAttributedStringAdditions.h
blob: f164b8c647352215c4e1d3674b2632cce756f3ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*  HBAttributedStringAdditions.h $

 This file is part of the HandBrake source code.
 Homepage: <http://handbrake.fr/>.
 It may be used under the terms of the GNU General Public License. */

#import <Cocoa/Cocoa.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (HBAttributedStringAdditions)

- (NSAttributedString *)HB_monospacedString;
- (NSAttributedString *)HB_smallMonospacedString;

@end

@interface NSMutableAttributedString (HBAttributedStringAdditions)

- (void)appendString:(NSString *)aString withAttributes:(NSDictionary *)aDictionary;

@end

NS_ASSUME_NONNULL_END