diff options
author | Rick Pasetto <rick@lindenlab.com> | 2010-01-27 14:08:04 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2010-01-27 14:08:04 -0800 |
commit | dbb2dadb68f5ed4349626bb91dcfcce76d901124 (patch) | |
tree | a6281467b5038fdfa878772894f9fdecb26188bd /indra/newview/llappviewermacosx.cpp | |
parent | 4421a51cfeb43b3be6de520acb9f94052fc7e2df (diff) | |
parent | d3f361752e5988800228cff11fcc50289b2f88c7 (diff) |
Automated merge with ssh://rick@hg.lindenlab.com/viewer/viewer-2-0/
Diffstat (limited to 'indra/newview/llappviewermacosx.cpp')
-rw-r--r-- | indra/newview/llappviewermacosx.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llappviewermacosx.cpp b/indra/newview/llappviewermacosx.cpp index 1282e437f2..cc38a0940c 100644 --- a/indra/newview/llappviewermacosx.cpp +++ b/indra/newview/llappviewermacosx.cpp @@ -444,6 +444,20 @@ std::string LLAppViewerMacOSX::generateSerialNumber() return serial_md5; } +//virtual +void LLAppViewerMacOSX::setMasterSystemAudioMute(bool mute) +{ + // XXX TODO: make this actually set the OS's audio mute state + gSavedSettings.setBOOL("MuteAudio", mute); +} + +//virtual +bool LLAppViewerMacOSX::getMasterSystemAudioMute() +{ + // XXX TODO: make this actually get the OS's audio mute state + return gSavedSettings.getBOOL("MuteAudio"); +} + OSErr AEGURLHandler(const AppleEvent *messagein, AppleEvent *reply, long refIn) { OSErr result = noErr; |