[Previous]
[Up]
NSWorkspace
Authors
- Richard Frith-Macdonald
-
Version: $Revision$
Date: $Date$
Declared in: Gui/NSWorkspace.h
Inherits from: NSObject
Conforms to: NSObject
Instance Variables
Methods
Class Methods
+ (NSWorkspace*) sharedWorkspace;
Instances Methods
- (void) checkForRemovableMedia;
- (int) extendPowerOffBy: (int)requested;
- (BOOL) fileSystemChanged;
- (void) findApplications;
- (NSString*) fullPathForApplication: (NSString*)appName;
- (BOOL) getFileSystemInfoForPath: (NSString*)fullPath isRemovable: (BOOL*)removableFlag isWritable: (BOOL *)writableFlag isUnmountable: (BOOL*)unmountableFlag description: (NSString **)description type: (NSString**)fileSystemType;
- (BOOL) getInfoForFile: (NSString*)fullPath application: (NSString**)appName;
- (void) hideOtherApplications;
- (NSImage*) iconForFile: (NSString*)fullPath;
- (NSImage*) iconForFileType: (NSString*)fileType;
- (NSImage*) iconForFiles: (NSArray*)fullPaths;
- (BOOL) launchApplication: (NSString*)appName;
- (BOOL) launchApplication: (NSString*)appName showIcon: (BOOL)showIcon autolaunch: (BOOL)autolaunch;
- (NSArray*) mountNewRemovableMedia;
- (NSArray*) mountedRemovableMedia;
- (void) noteFileSystemChanged;
- (void) noteUserDefaultsChanged;
- (NSNotificationCenter*) notificationCenter;
- (BOOL) openFile: (NSString*)fullPath;
- (BOOL) openFile: (NSString*)fullPath fromImage: (NSImage*)anImage at: (NSPoint)point inView: (NSView*)aView;
- (BOOL) openFile: (NSString*)fullPath withApplication: (NSString*)appName;
- (BOOL) openFile: (NSString*)fullPath withApplication: (NSString*)appName andDeactivate: (BOOL)flag;
- (BOOL) openTempFile: (NSString*)fullPath;
- (BOOL) performFileOperation: (NSString*)operation source: (NSString *)source destination: (NSString*)destination files: (NSArray *)files tag: (int*)tag;
- (BOOL) selectFile: (NSString*)fullPath inFileViewerRootedAtPath: (NSString*)rootFullPath;
- (void) slideImage: (NSImage*)image from: (NSPoint)fromPoint to: (NSPoint)toPoint;
- (BOOL) unmountAndEjectDeviceAtPath: (NSString*)path;
- (BOOL) userDefaultsChanged;