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

18 lines
535 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
2019-06-19 20:56:58 +00:00
#ifndef SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
#define SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
2017-11-13 17:22:01 +00:00
2017-11-09 22:21:07 +00:00
#import <Foundation/Foundation.h>
2018-04-18 01:44:10 +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
2019-06-19 20:56:58 +00:00
#endif // SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_