secsrv_plat/devenccommonutils_api/inc/DevEncConstants.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:04:40 +0300
branchRCL_3
changeset 21 09b1ac925e3f
parent 0 164170e6151a
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 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:  Enumerations used in the application UI.
*
*/


#ifndef __DEVENCCONSTANTS_H__
#define __DEVENCCONSTANTS_H__


enum TDevEncUiMemoryType
    {
    EPhoneMemory,
    EMemoryCard,
    EPrimaryPhoneMemory
    };

enum TDevEncUiMemoryEntityState
    {
    EMemStateUnknown = 0,
    EMemDecrypted    = 1,
    EMemEncrypting   = 2,
    EMemEncrypted    = 3,
    EMemDecrypting   = 4,
    EMemCorrupted    = 5
    };

enum TDevEncUiMmcStatus
    {
    EMmcNotPresent = 0,
    EMmcNotReadable = 1,
    EMmcOk = 2   
    };
    
enum TDevEncControl
    {
    EDevEncUiFullControl   = 100, //DE UI has full control
    EDMControlsPhoneMemory = 101, //DM controls phone memory
    EDMControlsMmc         = 102, //DM controls Memory card
    EDMFullControl         = 103  //DM has full control
    };
#endif // __DEVENCCONSTANTS_H__