usbengines/usbwatcher/inc/cusbwatcher.h
branchRCL_3
changeset 92 dde4619868dc
parent 80 e02eb84a14d2
equal deleted inserted replaced
86:703a2b94c06c 92:dde4619868dc
     1 /*
     1 /*
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   246      *
   246      *
   247      * @since Series 60 3.0
   247      * @since Series 60 3.0
   248      */
   248      */
   249     void DoCancel();
   249     void DoCancel();
   250 
   250 
       
   251 	/**
       
   252      * Check if there is an observer with ask on connection suppression.
       
   253      * Check if one or more sessions have suppressed the ask on 
       
   254      * connection mode query.
       
   255      *
       
   256      * @since S60 5.0
       
   257      * @return ETrue if suppression found
       
   258      */	
       
   259     TBool IsAskOnConnectionSuppression();
       
   260 	
   251 private:
   261 private:
   252 
   262 
   253     /**
   263     /**
   254      * C++ default constructor.
   264      * C++ default constructor.
   255      */
   265      */
   350      * Earlier previous personality id
   360      * Earlier previous personality id
   351      */
   361      */
   352     TInt iOldPrevPersonalityId;
   362     TInt iOldPrevPersonalityId;
   353     
   363     
   354     /**
   364     /**
       
   365      * Current ask on connection setting
       
   366      */
       
   367     TInt iAskOnConnectionSetting;
       
   368     
       
   369     /**
   355      * State for USB starting/stoping
   370      * State for USB starting/stoping
   356      */
   371      */
   357     TUsbState iState;
   372     TUsbState iState;
   358 
   373 
   359     /**
   374     /**