electron/shell/browser/ui/cocoa/NSString+ANSI.h
2019-06-19 17:33:28 -07:00

17 lines
535 B
Objective-C

// 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.
#ifndef SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
#define SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
#import <Foundation/Foundation.h>
@interface NSString (ANSI)
- (BOOL)containsANSICodes;
- (NSMutableAttributedString*)attributedStringParsingANSICodes;
@end
#endif // SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_