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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
562 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
#ifndef ELECTRON_SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_
#define ELECTRON_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
#endif // ELECTRON_SHELL_BROWSER_UI_COCOA_NSSTRING_ANSI_H_