--- a/usbengines/usbwatcher/inc/cusbwatcher.h Wed Sep 15 13:20:24 2010 +0300
+++ b/usbengines/usbwatcher/inc/cusbwatcher.h Wed Oct 13 15:41:46 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
@@ -248,6 +248,16 @@
*/
void DoCancel();
+ /**
+ * Check if there is an observer with ask on connection suppression.
+ * Check if one or more sessions have suppressed the ask on
+ * connection mode query.
+ *
+ * @since S60 5.0
+ * @return ETrue if suppression found
+ */
+ TBool IsAskOnConnectionSuppression();
+
private:
/**
@@ -352,6 +362,11 @@
TInt iOldPrevPersonalityId;
/**
+ * Current ask on connection setting
+ */
+ TInt iAskOnConnectionSetting;
+
+ /**
* State for USB starting/stoping
*/
TUsbState iState;