usbservices_plat/usb_personality_plugin_api/inc/tusbpersonalityparams.h
changeset 34 7858bc6ead78
parent 31 dfdd8240f7c8
child 35 9d8b04ca6939
--- a/usbservices_plat/usb_personality_plugin_api/inc/tusbpersonalityparams.h	Fri May 14 16:51:51 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-/*
-* Copyright (c) 2002-2007 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"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Container class for USB personalities
-*
-*/
-
-
-#ifndef TUSBPERSONALITYPARAMS_H
-#define TUSBPERSONALITYPARAMS_H
-
-class RUsb;
-class CUsbPersonalityNotifier;
-
-/**
- *  Container class for USB personalities
- *
- *  Personality id, handle for Usb Manager and personality notifier
- *  is given with this class to USB personalities.
- *
- *  @lib euser.lib, usbman.lib
- *  @since S60 3.2
- */
-class TUsbPersonalityParams
-    {
-public:    
-    IMPORT_C TUsbPersonalityParams(RUsb& aUsbMan, CUsbPersonalityNotifier& aPersonalityNotifier);
-    IMPORT_C ~TUsbPersonalityParams();
-    
-    /**
-     * Method to get handle to USB Manager
-     *
-     * @since S60 3.2
-     * @return Handle to USB Manager
-     */
-    IMPORT_C RUsb& UsbMan() const;
-    
-    /**
-     * Method to get handle to personality notifier
-     *
-     * @since S60 3.2
-     * @return Handle to personality notifier
-     */    
-    IMPORT_C CUsbPersonalityNotifier& PersonalityNotifier() const;
-    
-    /**
-     * Set personality id.
-     *
-     * @since S60 3.2
-     * @param Personality id
-     */    
-    IMPORT_C void SetPersonalityId(TInt aPersonalityId);
-    
-    /**
-     * Method to get current personality id
-     *
-     * @since S60 3.2
-     * @return Personality id
-     */        
-    IMPORT_C TInt PersonalityId() const;
-    
-private:
-    /**
-     * Handle to USB Manager
-     */
-    RUsb& iUsbMan;
-
-    /**
-     * Handle to personality notifier
-     */    
-    CUsbPersonalityNotifier& iPersonalityNotifier;
-
-    /**
-     * Current personality id
-     */    
-    TInt iPersonalityId;
-    };
-
-#endif