|         |      1 /* | 
|         |      2 * Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). | 
|         |      3 * All rights reserved. | 
|         |      4 * This component and the accompanying materials are made available | 
|         |      5 * under the terms of "Eclipse Public License v1.0"" | 
|         |      6 * which accompanies this distribution, and is available | 
|         |      7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". | 
|         |      8 * | 
|         |      9 * Initial Contributors: | 
|         |     10 * Nokia Corporation - initial contribution. | 
|         |     11 * | 
|         |     12 * Contributors: | 
|         |     13 * | 
|         |     14 * Description:  Memory Scan Client | 
|         |     15 * | 
|         |     16 */ | 
|         |     17  | 
|         |     18  | 
|         |     19 #ifndef __MEMSCANCLIENT_H__ | 
|         |     20 #define __MEMSCANCLIENT_H__ | 
|         |     21  | 
|         |     22 #include <e32std.h> | 
|         |     23 #include <f32file.h>        // TDriveNumber | 
|         |     24 #include <badesca.h>        // Descriptor arrays | 
|         |     25  | 
|         |     26 #include "memscanclientserver.h" | 
|         |     27  | 
|         |     28 // --------------------------------------------------------------------------- | 
|         |     29 // Client | 
|         |     30 // --------------------------------------------------------------------------- | 
|         |     31  | 
|         |     32 class RMemScanClient : public RSessionBase | 
|         |     33 	{ | 
|         |     34 public: | 
|         |     35     IMPORT_C RMemScanClient(); | 
|         |     36 	IMPORT_C TInt Connect(); | 
|         |     37 	IMPORT_C void Close(); | 
|         |     38  | 
|         |     39 public: // API	 | 
|         |     40 	IMPORT_C TInt Scan(const TDriveNumber aDrive); | 
|         |     41 	IMPORT_C CDesCArray* DataGroupsL() const; | 
|         |     42 	IMPORT_C void RequestScanEvents( TInt& aError, TRequestStatus& aRequestStatus ); | 
|         |     43 	IMPORT_C void RequestScanEventsCancel(); | 
|         |     44 	IMPORT_C TBool ScanInProgress( ) const; | 
|         |     45 	IMPORT_C CArrayFix<TInt64>* ScanResultL() const; | 
|         |     46  | 
|         |     47 private: | 
|         |     48     TPtr8 iScanEventPackagePointer; | 
|         |     49 	}; | 
|         |     50  | 
|         |     51  | 
|         |     52 #endif //__MEMSCANCLIENT_H__ |