00001
00002
00003
00004
00005
00006
00007 #import "NSObject.h"
00008
00009 @class AVController, NSString, NSTimer;
00010
00011 @interface VolumeController : NSObject
00012 {
00013 AVController *_avController;
00014 id _delegate;
00015 float _volume;
00016 float _unmutedVolume;
00017 NSTimer *_fadeTimer;
00018 float _fadeVolume;
00019 NSString *_debugName;
00020 int _volumeBehaviorWhenEnabled;
00021 struct {
00022 unsigned int fadeIncreasesVolume:1;
00023 unsigned int enabled:1;
00024 unsigned int isSuspending:1;
00025 unsigned int shouldPushLocalVolumeToServer:1;
00026 unsigned int unused:28;
00027 } _vcBitfields;
00028 }
00029
00030 + (void)setCurrentVolumeController:(id)fp8;
00031 + (void)removeCurrentVolumeController:(id)fp8;
00032 + (void)forgetController:(id)fp8;
00033 + (id)currentVolumeController;
00034 - (id)init;
00035 - (id)description;
00036 - (void)setDebugName:(id)fp8;
00037 - (void)_postVolumeChangedNotification;
00038 - (void)postCurrentVolumeNotification;
00039 - (void)systemSoundControllerVolumeDidChange:(id)fp8;
00040 - (void)avControllerVolumeDidChange:(id)fp8;
00041 - (void)applicationWillSuspend:(id)fp8;
00042 - (void)applicationDidSuspendOrResume:(id)fp8;
00043 - (void)dealloc;
00044 - (void)setDelegate:(id)fp8;
00045 - (void)setAVController:(id)fp8;
00046 - (void)activateAndPushLocalVolumeToServerIfNecessary;
00047 - (void)_updateAVControllerVolumeBehavior;
00048 - (void)_didOrderOut;
00049 - (void)_didBecomeCurrent;
00050 - (void)setVolumeBehaviorWhenEnabled:(int)fp8;
00051 - (int)volumeBehaviorWhenEnabled;
00052 - (void)setEnabled:(BOOL)fp8;
00053 - (BOOL)isEnabled;
00054 - (void)_setPlayerVolume:(float)fp8;
00055 - (float)_playerVolume;
00056 - (void)toggleMuted;
00057 - (void)setMuted:(BOOL)fp8;
00058 - (BOOL)muted;
00059 - (BOOL)setVolume:(float)fp8;
00060 - (float)volume;
00061 - (void)_stopFade;
00062 - (void)_delayedFadeEndedForDirection:(int)fp8;
00063 - (void)_delayedDidFinishFadeOut;
00064 - (void)_delayedDidFinishFadeIn;
00065 - (void)_handleFadeEvent:(id)fp8;
00066 - (void)_startFade;
00067 - (void)fadeIn;
00068 - (void)fadeOut;
00069
00070 @end
00071