| class CBaseExtProxyDrive : public CProxyDrive |
Media subsystem extensions must be derived from this specific class interface. Objects of this type should be created through use of a derived CProxyDriveFactory class.
Class passes commands directly to CProxyDrive .
| Protected Member Functions | |
|---|---|
| IMPORT_C TInt | GetInterface ( TInt , TAny *&, TAny *) |
| Inherited Enumerations | |
|---|---|
| CProxyDrive:TInterfaceIds | |
| Private Attributes | |
|---|---|
| CProxyDrive * | iProxy |
| IMPORT_C | CBaseExtProxyDrive | ( | CProxyDrive * | aProxyDrive, |
| CMountCB * | aMount | |||
| ) | ||||
| CProxyDrive * aProxyDrive | |
| CMountCB * aMount |
| IMPORT_C 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. |
| IMPORT_C 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. |
| IMPORT_C TInt | ControlIO | ( | const RMessagePtr2 & | aMessage, |
| TInt | aCommand, | |||
| TAny * | aParam1, | |||
| TAny * | aParam2 | |||
| ) | [virtual] | |||
| const RMessagePtr2 & aMessage | |
| TInt aCommand | |
| TAny * aParam1 | |
| TAny * aParam2 |
| IMPORT_C 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. |
| IMPORT_C TInt | ErasePassword | ( | ) | [virtual] |
Forcibly unlock a password-enabled proxy drive.
Derived class must provide an implementation for it.
| IMPORT_C 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. |
| IMPORT_C TInt | Format | ( | TFormatInfo & | anInfo | ) | [virtual] |
Format the connected drive.
Derived class must provide an implementation for it.
| TFormatInfo & anInfo | Device specific format information. |
| IMPORT_C TInt | Format | ( | TInt64 | aPos, |
| TInt | aLength | |||
| ) | [virtual] | |||
Format the proxy drive.
Derived class must provide an implementation for it.
| IMPORT_C 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.
| IMPORT_C TInt | GetLastErrorInfo | ( | TDes8 & | aErrorInfo | ) | [virtual] |
| TDes8 & aErrorInfo |
| IMPORT_C TInt | Initialise | ( | ) | [virtual] |
Initialise the proxy drive.
Derived class must provide an implementation for it.
| TInt | LocalBufferSupport | ( | ) | [inline] |
return whether proxy drive supports file caching
| IMPORT_C 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. |
| IMPORT_C TInt | Read | ( | TInt64 | aPos, |
| TInt | aLength, | |||
| const TAny * | aTrg, | |||
| TInt | aThreadHandle, | |||
| TInt | aOffset, | |||
| TInt | aFlags | |||
| ) | [virtual] | |||
| IMPORT_C 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.
| IMPORT_C TInt | Read | ( | TInt64 | aPos, |
| TInt | aLength, | |||
| TDes8 & | aTrg | |||
| ) | [virtual] | |||
Read from the proxy drive.
Derived class must provide an implementation for it.
| IMPORT_C 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.
| IMPORT_C 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. |
| IMPORT_C 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. |
| IMPORT_C TInt | Write | ( | TInt64 | aPos, |
| TInt | aLength, | |||
| const TAny * | aSrc, | |||
| TInt | aThreadHandle, | |||
| TInt | aOffset, | |||
| TInt | aFlags | |||
| ) | [virtual] | |||
| IMPORT_C 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.
| IMPORT_C 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.