From bddec0427cbd2e2f24b0f689ee00c5cc1f99957b Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 24 Aug 2006 06:26:55 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=10997 --- clientlib/win/BOINCSENSSink.cpp | 24 ++++++++++++------------ clientlib/win/BOINCSENSSink.h | 1 + 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/clientlib/win/BOINCSENSSink.cpp b/clientlib/win/BOINCSENSSink.cpp index b57d5b1abe..2c437b9284 100755 --- a/clientlib/win/BOINCSENSSink.cpp +++ b/clientlib/win/BOINCSENSSink.cpp @@ -97,7 +97,7 @@ HRESULT CBOINCSENSSink::ConnectionMadeNoQOCInfo(BSTR bstrConnection, unsigned lo return S_OK; } -HRESULT CBOINCSENSSink::ConnectionLost(BSTR bstrConnection, unsigned long ulType) +HRESULT CBOINCSENSSink::ConnectionLost(BSTR bstrConnection, unsigned long /* ulType */) { USES_CONVERSION; std::vector::iterator iter; @@ -110,12 +110,12 @@ HRESULT CBOINCSENSSink::ConnectionLost(BSTR bstrConnection, unsigned long ulType return S_OK; } -HRESULT CBOINCSENSSink::DestinationReachable(BSTR bstrDestination, BSTR bstrConnection, unsigned long ulType, SENS_QOCINFO * lpQOCInfo) +HRESULT CBOINCSENSSink::DestinationReachable(BSTR /* bstrDestination */, BSTR /* bstrConnection */, unsigned long /* ulType */, SENS_QOCINFO* /* lpQOCInfo */ ) { return S_OK; } -HRESULT CBOINCSENSSink::DestinationReachableNoQOCInfo(BSTR bstrDestination, BSTR bstrConnection, unsigned long ulType) +HRESULT CBOINCSENSSink::DestinationReachableNoQOCInfo(BSTR /* bstrDestination */, BSTR /* bstrConnection */, unsigned long /* ulType */) { return S_OK; } @@ -126,48 +126,48 @@ HRESULT CBOINCSENSSink::OnACPower() return S_OK; } -HRESULT CBOINCSENSSink::OnBatteryPower(unsigned long dwBatteryLifePercent) +HRESULT CBOINCSENSSink::OnBatteryPower(unsigned long /* dwBatteryLifePercent */) { return S_OK; } -HRESULT CBOINCSENSSink::BatteryLow(unsigned long dwBatteryLifePercent) +HRESULT CBOINCSENSSink::BatteryLow(unsigned long /* dwBatteryLifePercent */) { return S_OK; } // ISensLogon Methods -HRESULT CBOINCSENSSink::Logon(BSTR bstrUserName) +HRESULT CBOINCSENSSink::Logon(BSTR /* bstrUserName */) { return S_OK; } -HRESULT CBOINCSENSSink::Logoff(BSTR bstrUserName) +HRESULT CBOINCSENSSink::Logoff(BSTR /* bstrUserName */) { return S_OK; } -HRESULT CBOINCSENSSink::StartShell(BSTR bstrUserName) +HRESULT CBOINCSENSSink::StartShell(BSTR /* bstrUserName */) { return S_OK; } -HRESULT CBOINCSENSSink::DisplayLock(BSTR bstrUserName) +HRESULT CBOINCSENSSink::DisplayLock(BSTR /* bstrUserName */) { return S_OK; } -HRESULT CBOINCSENSSink::DisplayUnlock(BSTR bstrUserName) +HRESULT CBOINCSENSSink::DisplayUnlock(BSTR /* bstrUserName */) { return S_OK; } -HRESULT CBOINCSENSSink::StartScreenSaver(BSTR bstrUserName) +HRESULT CBOINCSENSSink::StartScreenSaver(BSTR /* bstrUserName */) { return S_OK; } -HRESULT CBOINCSENSSink::StopScreenSaver(BSTR bstrUserName) +HRESULT CBOINCSENSSink::StopScreenSaver(BSTR /* bstrUserName */) { return S_OK; } diff --git a/clientlib/win/BOINCSENSSink.h b/clientlib/win/BOINCSENSSink.h index bff8427080..fc71925dd9 100755 --- a/clientlib/win/BOINCSENSSink.h +++ b/clientlib/win/BOINCSENSSink.h @@ -53,6 +53,7 @@ __interface IBOINCSENSSink : IDispatch [ coclass, threading("free"), + default(IBOINCSENSSink), vi_progid("BOINCSENS.BOINCSENSSink"), progid("BOINCSENS.BOINCSENSSink.1"), version(1.0),