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

18 lines
531 B
C
Raw Normal View History

// Created by Kent Karlsson on 3/11/16.
// Copyright (c) 2016 Bit Bar. All rights reserved.
// Copyright (c) 2017 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
2017-11-09 22:21:07 +00:00
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_