electron/atom/browser/ui/cocoa/NSString+ANSI.h

22 lines
439 B
C
Raw Normal View History

2017-11-09 22:21:07 +00:00
//
// NSString+ANSI.h
// BitBar
//
// Created by Kent Karlsson on 3/11/16.
// Copyright © 2016 Bit Bar. All rights reserved.
//
2017-11-13 17:22:01 +00:00
#ifndef ATOM_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
#define ATOM_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
2017-11-09 22:21:07 +00:00
#import <Foundation/Foundation.h>
2017-11-13 17:22:01 +00:00
@interface NSString(ANSI)
2017-11-09 22:21:07 +00:00
- (BOOL)containsANSICodes;
- (NSMutableAttributedString*)attributedStringParsingANSICodes;
@end
2017-11-13 17:22:01 +00:00
#endif // ATOM_BROWSER_UI_COCOA_NSSTRING_ANSI_H_