usbengines/usbwatcher/inc/cusbactivepersonalityhandler.h
branchRCL_3
changeset 92 dde4619868dc
parent 77 5b2a402e96ac
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".
    74     /**
    74     /**
    75      * Start personality.
    75      * Start personality.
    76      *
    76      *
    77      * @since Series 60 3.2
    77      * @since Series 60 3.2
    78      * @param aPersonalityId Identification of the personality to be loaded.
    78      * @param aPersonalityId Identification of the personality to be loaded.
       
    79      * @param aAskOnConnectionSetting When this parameter is ETrue, "ask on connection" query is shown.
    79      * @param aStatus Used to complete outstanding request.
    80      * @param aStatus Used to complete outstanding request.
    80      */
    81      */
    81     void StartPersonality( TInt& aPersonalityId, 
    82     void StartPersonality( TInt& aPersonalityId, 
    82 	        TRequestStatus& aStatus );
    83             TInt aAskOnConnectionSetting, TRequestStatus& aStatus );
    83 
    84 
    84     /**
    85     /**
    85      * Stop current personality.
    86      * Stop current personality.
    86      *
    87      *
    87      * @since Series 60 3.2
    88      * @since Series 60 3.2
   230      * Personality id of currently loaded personality.
   231      * Personality id of currently loaded personality.
   231      */        
   232      */        
   232     TInt *iPersonalityId;
   233     TInt *iPersonalityId;
   233     
   234     
   234     /**
   235     /**
       
   236      * Ask on connection is either on (1) or off (0).
       
   237      */    
       
   238     TInt iAskOnConnectionSetting;
       
   239 
       
   240     /**
   235      * When value is ETrue then serial number is written to P&S.
   241      * When value is ETrue then serial number is written to P&S.
   236      */            
   242      */            
   237     TBool iSerialNumberWritten;
   243     TBool iSerialNumberWritten;
   238     
   244     
   239     /**
   245     /**