| class CLocalProxyDrive : public CProxyDrive |
Local drive specific proxy drive interface. Class passes commands directly to TBusLocalDrive .
| Public Member Functions | |
|---|---|
| TInt | Caps ( TDes8 &) |
| TInt | Clear ( TMediaPassword &) |
| TInt | ControlIO (const RMessagePtr2 &, TInt , TAny *, TAny *) |
| TInt | DeleteNotify ( TInt64 , TInt ) |
| TInt | Dismounted () |
| TInt | Enlarge ( TInt ) |
| TInt | ErasePassword () |
| TInt | ForceRemount ( TUint ) |
| TInt | Format ( TFormatInfo &) |
| TInt | Format ( TInt64 , TInt ) |
| TInt | GetLastErrorInfo ( TDes8 &) |
| TInt | Initialise () |
| TInt | Lock ( TMediaPassword &, TMediaPassword &, TBool ) |
| CLocalProxyDrive * | New ( CMountCB *, TBusLocalDrive &) |
| TInt | Read ( TInt64 , TInt , const TAny *, TInt , TInt , TInt ) |
| TInt | Read ( TInt64 , TInt , const TAny *, TInt , TInt ) |
| TInt | Read ( TInt64 , TInt , TDes8 &) |
| TInt | ReduceSize ( TInt , TInt ) |
| TInt | SetMountInfo (const TDesC8 *, TInt ) |
| TInt | Unlock ( TMediaPassword &, TBool ) |
| TInt | Write ( TInt64 , TInt , const TAny *, TInt , TInt , TInt ) |
| TInt | Write ( TInt64 , TInt , const TAny *, TInt , TInt ) |
| TInt | Write ( TInt64 , const TDesC8 &) |
| Protected Member Functions | |
|---|---|
| TInt | GetInterface ( TInt , TAny *&, TAny *) |
| Private Member Functions | |
|---|---|
| CLocalProxyDrive ( CMountCB *, TBusLocalDrive &) | |
| Inherited Enumerations | |
|---|---|
| CProxyDrive:TInterfaceIds | |
| Private Attributes | |
|---|---|
| TBusLocalDrive & | iLocDrv |
| CLocalProxyDrive | ( | CMountCB * | aMount, |
| TBusLocalDrive & | aLocDrv | ||
| ) | [private] | ||
| CMountCB * aMount | |
| TBusLocalDrive & aLocDrv |
| TInt | Caps | ( | TDes8 & | anInfo | ) | [virtual] |
Get the proxy drive's capabilities information.
Derived class must provide an implementation for it.
| TDes8 & anInfo | A descriptor of the connected drives capabilities. |
| TInt | Clear | ( | TMediaPassword & | aPassword | ) | [virtual] |
Clears a password from a proxy drive - controller sets password to null.
Derived class must provide an implementation for it.
| TMediaPassword & aPassword | A descriptor containing the password. |
| TInt | ControlIO | ( | const RMessagePtr2 & | aMessage, |
| TInt | aCommand, | |||
| TAny * | aParam1, | |||
| TAny * | aParam2 | |||
| ) | [virtual] | |||
| const RMessagePtr2 & aMessage | |
| TInt aCommand | |
| TAny * aParam1 | |
| TAny * aParam2 |
| TInt | Enlarge | ( | TInt | aLength | ) | [virtual] |
Increase the size of the proxy drive by the specified length (in bytes).
Derived class must provide an implementation for it.
| TInt aLength | The length (in bytes) of which the drive is to be increased by. |
| TInt | ErasePassword | ( | ) | [virtual] |
Forcibly unlock a password-enabled proxy drive.
Derived class must provide an implementation for it.
| TInt | ForceRemount | ( | TUint | aFlags = 0 | ) | [virtual] |
Forces a remount on the proxy drive
Derived class must provide an implementation for it.
| TUint aFlags = 0 | Flags to be passed into the driver. |
| TInt | Format | ( | TFormatInfo & | anInfo | ) | [virtual] |
Format the connected drive.
Derived class must provide an implementation for it.
| TFormatInfo & anInfo | Device specific format information. |
| TInt | Format | ( | TInt64 | aPos, |
| TInt | aLength | |||
| ) | [virtual] | |||
Format the proxy drive.
Derived class must provide an implementation for it.
| TInt | GetInterface | ( | TInt | aInterfaceId, |
| TAny *& | aInterface, | |||
| TAny * | aInput | |||
| ) | [protected, virtual] | |||
Return a pointer to a specified interface extension - to allow future extension of this class without breaking binary compatibility.
| TInt | GetLastErrorInfo | ( | TDes8 & | aErrorInfo | ) | [virtual] |
| TDes8 & aErrorInfo |
| TInt | Initialise | ( | ) | [virtual] |
Initialise the proxy drive.
Derived class must provide an implementation for it.
| TInt | Lock | ( | TMediaPassword & | aOldPassword, |
| TMediaPassword & | aNewPassword, | |||
| TBool | aStorePassword | |||
| ) | [virtual] | |||
Locks a password-enabled proxy drive with the new password.
Derived class must provide an implementation for it.
| TMediaPassword & aOldPassword | A descriptor containing the existing password. |
| TMediaPassword & aNewPassword | A descriptor containing the new password. |
| TBool aStorePassword | If ETrue, the password is added to the password store. |
| CLocalProxyDrive * | New | ( | CMountCB * | aMount, |
| TBusLocalDrive & | aLocDrv | |||
| ) | [static] | |||
| CMountCB * aMount | |
| TBusLocalDrive & aLocDrv |
| TInt | Read | ( | TInt64 | aPos, |
| TInt | aLength, | |||
| const TAny * | aTrg, | |||
| TInt | aThreadHandle, | |||
| TInt | aOffset, | |||
| TInt | aFlags | |||
| ) | [virtual] | |||
| TInt | Read | ( | TInt64 | aPos, |
| TInt | aLength, | |||
| const TAny * | aTrg, | |||
| TInt | aThreadHandle, | |||
| TInt | anOffset | |||
| ) | [virtual] | |||
Read from the proxy drive.
Derived class must provide an implementation for it.
| TInt | Read | ( | TInt64 | aPos, |
| TInt | aLength, | |||
| TDes8 & | aTrg | |||
| ) | [virtual] | |||
Read from the proxy drive.
Derived class must provide an implementation for it.
| TInt | ReduceSize | ( | TInt | aPos, |
| TInt | aLength | |||
| ) | [virtual] | |||
Reduce the size of the proxy drive by removing the specified length (in bytes) starting at the specified position.
Derived class must provide an implementation for it.
| TInt | SetMountInfo | ( | const TDesC8 * | aMountInfo, |
| TInt | aMountInfoThreadHandle = KCurrentThreadHandle | |||
| ) | [virtual] | |||
Set the mount information on the proxy drive.
Derived class must provide an implementation for it.
| const TDesC8 * aMountInfo | Information passed down to the media driver. The meaning of this information depends on the media driver. |
| TInt aMountInfoThreadHandle = KCurrentThreadHandle | Message thread handle number. |
| TInt | Unlock | ( | TMediaPassword & | aPassword, |
| TBool | aStorePassword | |||
| ) | [virtual] | |||
Unlocks a password-enabled proxy drive.
Derived class must provide an implementation for it.
| TMediaPassword & aPassword | A descriptor containing the existing password. |
| TBool aStorePassword | If ETrue, the password is added to the password store. |
| TInt | Write | ( | TInt64 | aPos, |
| TInt | aLength, | |||
| const TAny * | aSrc, | |||
| TInt | aThreadHandle, | |||
| TInt | aOffset, | |||
| TInt | aFlags | |||
| ) | [virtual] | |||
| TInt | Write | ( | TInt64 | aPos, |
| TInt | aLength, | |||
| const TAny * | aSrc, | |||
| TInt | aThreadHandle, | |||
| TInt | anOffset | |||
| ) | [virtual] | |||
Write to the proxy drive.
Derived class must provide an implementation for it.
| TInt | Write | ( | TInt64 | aPos, |
| const TDesC8 & | aSrc | |||
| ) | [virtual] | |||
Write to the proxy drive.
Derived class must provide an implementation for it.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.