mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Make new file browser’s CreateIconImageForURL public API
Ideally I would like to have the FileItem class be the public API, as that will then take care of updating the icon’s SCM status etc., current commit is just a temporary fix for missing document icons on 10.14.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#import <oak/misc.h>
|
||||
#import <scm/status.h>
|
||||
|
||||
NSImage* CreateIconImageForURL (NSURL* url, BOOL isModified, BOOL isMissing, BOOL isDirectory, BOOL isSymbolicLink, scm::status::type scmStatus);
|
||||
PUBLIC NSImage* CreateIconImageForURL (NSURL* url, BOOL isModified, BOOL isMissing, BOOL isDirectory, BOOL isSymbolicLink, scm::status::type scmStatus);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
SOURCES = src/*.mm src/OFB/*.mm
|
||||
EXPORT = src/FileBrowserViewController.h src/FileBrowserNotifications.h
|
||||
EXPORT = src/FileBrowserViewController.h src/FileBrowserNotifications.h src/FileItemImage.h
|
||||
CP_Resources = resources/*
|
||||
LINK += MenuBuilder OakAppKit OakCommand OakFoundation OakTabBarView Preferences bundles io ns regexp scm settings text
|
||||
FRAMEWORKS = Cocoa
|
||||
|
||||
Reference in New Issue
Block a user