Cog/Preferences/Preferences/SandboxPathBehaviorController.h
Christopher Snowhill 77b3d74948 [Sandbox Paths] Automatically clean up old paths
Clean up redundant paths automatically, and on startup. Also refresh the
preferences dialog path list every time it is opened.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-07-24 23:14:52 -07:00

24 lines
392 B
Objective-C

//
// SandboxPathBehaviorController.h
// Preferences
//
// Created by Christopher Snowhill on 6/19/22.
//
#import <Cocoa/Cocoa.h>
NS_ASSUME_NONNULL_BEGIN
@interface SandboxPathBehaviorController : NSArrayController
- (void)refresh;
- (void)addUrl:(NSURL *)url;
- (void)removeToken:(id)token;
- (void)removeStaleEntries;
- (BOOL)matchesPath:(NSURL *)url;
@end
NS_ASSUME_NONNULL_END