forked from cirrusj/HardwareGrowler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VolumeNotifier.h
35 lines (26 loc) · 701 Bytes
/
VolumeNotifier.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
//
// VolumeNotifier.h
// HardwareGrowler
//
// Created by Diggory Laycock on 10/02/2005.
// Copyright 2005 The Growl Project. All rights reserved.
//
void VolumeNotifier_init(void);
void VolumeNotifier_dealloc(void);
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
@interface VolumeInfo : NSObject {
NSData *iconData;
NSString *name;
NSString *path;
}
+ (VolumeInfo *) volumeInfoForMountWithPath:(NSString *)aPath;
+ (VolumeInfo *) volumeInfoForUnmountWithPath:(NSString *)aPath;
- (id) initForMountWithPath:(NSString *)aPath;
- (id) initForUnmountWithPath:(NSString *)aPath;
- (id) initWithPath:(NSString *)aPath;
- (NSData *) iconData;
- (NSString *) name;
- (NSString *) path;
@end
#endif