usbengines/usbwatcher/inc/cusbactivepersonalityhandler.h
changeset 71 173beb545395
parent 46 0ffee699d6c7
child 92 dde4619868dc
equal deleted inserted replaced
62:eadeea68c837 71:173beb545395
     1 /*
     1 /*
     2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2010 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.
       
    80      * @param aStatus Used to complete outstanding request.
    79      * @param aStatus Used to complete outstanding request.
    81      */
    80      */
    82     void StartPersonality( TInt& aPersonalityId, 
    81     void StartPersonality( TInt& aPersonalityId, 
    83             TInt aAskOnConnectionSetting, TRequestStatus& aStatus );
    82 	        TRequestStatus& aStatus );
    84 
    83 
    85     /**
    84     /**
    86      * Stop current personality.
    85      * Stop current personality.
    87      *
    86      *
    88      * @since Series 60 3.2
    87      * @since Series 60 3.2
   231      * Personality id of currently loaded personality.
   230      * Personality id of currently loaded personality.
   232      */        
   231      */        
   233     TInt *iPersonalityId;
   232     TInt *iPersonalityId;
   234     
   233     
   235     /**
   234     /**
   236      * Ask on connection is either on (1) or off (0).
       
   237      */    
       
   238     TInt iAskOnConnectionSetting;
       
   239 
       
   240     /**
       
   241      * When value is ETrue then serial number is written to P&S.
   235      * When value is ETrue then serial number is written to P&S.
   242      */            
   236      */            
   243     TBool iSerialNumberWritten;
   237     TBool iSerialNumberWritten;
   244     
   238     
   245     /**
   239     /**