21
|
1 |
/*
|
|
2 |
* Copyright (c) 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:
|
|
15 |
* Memory State Popup.
|
|
16 |
*
|
|
17 |
*
|
|
18 |
*/
|
|
19 |
|
|
20 |
|
|
21 |
#ifndef __CMEMORYSTATEPOPUP_H__
|
|
22 |
#define __CMEMORYSTATEPOPUP_H__
|
|
23 |
|
|
24 |
// SYSTEM INCLUDES
|
|
25 |
#include <e32base.h>
|
|
26 |
|
|
27 |
// USER INCLUDES
|
|
28 |
#include "msputil.h"
|
|
29 |
|
|
30 |
// CONSTANTS
|
|
31 |
const TText KRightToLeftMark = 0x200F;
|
|
32 |
|
|
33 |
// CLASS DEFINITION
|
|
34 |
class CMemStatePopup : public CBase
|
|
35 |
{
|
|
36 |
public:
|
|
37 |
// Destructor
|
|
38 |
virtual ~CMemStatePopup( );
|
|
39 |
|
|
40 |
private:
|
|
41 |
// C++ constructors
|
|
42 |
CMemStatePopup( );
|
|
43 |
|
|
44 |
public:
|
|
45 |
/**
|
|
46 |
* Launches the memory scan popup
|
|
47 |
* @param aDrive The drive to be scanned
|
|
48 |
* @param aTitle Title of the popup
|
|
49 |
*/
|
|
50 |
IMPORT_C static void RunLD( TDriveNumber aDrive, TDesC& aTitle );
|
|
51 |
|
|
52 |
/**
|
|
53 |
* Get an instance of CMSPUtil class, containing the unit text array
|
|
54 |
* @param aUtil Reference to a CMSPUtil pointer,
|
|
55 |
* updated to point to the instance created
|
|
56 |
*/
|
|
57 |
IMPORT_C static void GetUtilL( CMSPUtil*& aUtil );
|
|
58 |
|
|
59 |
private:
|
|
60 |
// Not implemented
|
|
61 |
CMemStatePopup( const CMemStatePopup& );
|
|
62 |
CMemStatePopup& operator=( CMemStatePopup& );
|
|
63 |
|
|
64 |
private:
|
|
65 |
};
|
|
66 |
|
|
67 |
#endif // __CMEMORYSTATEPOPUP_H__
|
|
68 |
|
|
69 |
// End of File
|