forked from kainjow/Semulov
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSLVolume.h
48 lines (38 loc) · 789 Bytes
/
SLVolume.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//
// SLVolume.h
// Semulov
//
// Created by Kevin Wojniak on 11/5/06.
// Copyright 2006 - 2014 Kevin Wojniak. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class SLDiskImageManager;
typedef enum
{
SLVolumeRoot,
SLVolumeDrive,
SLVolumeiPod,
SLVolumeNetwork,
SLVolumeFTP,
SLVolumeWebDAV,
SLVolumeDiskImage,
SLVolumeCD,
SLVolumeDVD,
SLVolumeHardDrive,
SLVolumeRAMDisk,
SLVolumeBluray,
} SLVolumeType;
@interface SLVolume : NSObject <NSCopying>
+ (NSArray *)allVolumesWithDiskManager:(SLDiskImageManager *)diskImageManager;
- (NSString *)path;
- (NSString *)name;
- (NSImage *)image;
- (BOOL)isLocal;
- (BOOL)isRoot;
- (SLVolumeType)type;
- (NSURL *)hostURL;
- (BOOL)isInternalHardDrive;
- (NSString *)diskImagePath;
- (BOOL)isiPod;
- (NSString *)diskID;
@end