forked from peterhajas/SpringBoard-4.x-Headers
/
VolumeControl.h
46 lines (42 loc) · 1.27 KB
/
VolumeControl.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
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "SpringBoard-Structs.h"
#import <Foundation/NSObject.h>
@class NSString, NSMutableSet;
@interface VolumeControl : NSObject {
BOOL _debounce;
int _numberOfVolumeDecreasesSinceDownButtonDown;
int _mode;
NSMutableSet* _alwaysHiddenCategories;
NSString* _lastDisplayedCategory;
NSString* _lastEventCategory;
}
+(id)sharedVolumeControl;
+(float)volumeStep;
-(id)init;
-(void)dealloc;
-(void)addAlwaysHiddenCategory:(id)category;
-(void)removeAlwaysHiddenCategory:(id)category;
-(BOOL)_HUDIsDisplayableForCategory:(id)category;
-(void)toggleMute;
-(float)volume;
-(void)_changeVolumeBy:(float)by;
-(float)_calcButtonRepeatDelay;
-(void)increaseVolume;
-(void)decreaseVolume;
-(id)lastDisplayedCategory;
-(void)handleVolumeEvent:(GSEventRef)event;
-(void)cancelVolumeEvent;
-(void)_registerForAVSystemControllerNotifications;
-(void)_unregisterForAVSystemControllerNotifications;
-(void)_serverConnectionDied:(id)died;
-(int)_volumeModeForCategory:(id)category;
-(void)_effectiveVolumeChanged:(id)changed;
-(BOOL)_headphonesPresent;
-(void)_presentVolumeHUDWithMode:(int)mode volume:(float)volume;
-(void)hideVolumeHUDIfVisible;
@end