dependencies/mjavaattribute.h
author Christian Morlok <symbian.org@christianmorlok.de>
Wed, 07 Apr 2010 14:35:19 +0200
branchv5backport
changeset 54 666a2952b5b3
parent 31 a3e98f9c292b
permissions -rw-r--r--
renamed dlls+exe to prevent conflicts with existing files in emulator; changelog attached. * renamed dlls/exe: - aifw.dll to aifw_hs.dll - cputils to cputils_hs - aiidleint.dll to aiidleint_hs.dll - aiutils.dll to aiutils_hs.dll - MenuInterface.dll to MenuInterface_hs.dll - XCFW.dll to XCFW_hs.dll - homescreen.exe to homescreen_hs.exe - ailaunch.exe to ailaunch_hs.exe * new UID for Active Idle (aifw_hs.dll, aiidleint_hs.dll and homescreen.exe): #define AI_UID3_AIFW_COMMON 0xEDFF45C4 (was 0x102750F0 = 271012080) * new UID for cputils_hs.dll: 0xE3E7134E (was 0x20016B7F = 536963967) * new UID for AI Utilities Factory (aiutils_hs.dll): 0xEC55106C (was 0x10281865 = 271063141) * new UID for MenuInterface_hs.dll: 0xEEE24485 (was 0x10210EAB = 270601899) * new UID for XCFW_hs.dll: 0xEB12332F (was 0x10210EA0 = 270601888) * new UID for ailaunch_hs.exe: 0xEF5A047A (was 0x200286E3 = 537036515)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     1
/*
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     2
* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     3
* All rights reserved.
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     4
* This component and the accompanying materials are made available
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     6
* which accompanies this distribution, and is available
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     8
*
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
     9
* Initial Contributors:
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    11
*
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    12
* Contributors:
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    13
*
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    14
* Description: Java Registy API header file
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    15
*
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    16
*/
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    17
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    18
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    19
#ifndef MJAVAATTRIBUTE_H
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    20
#define MJAVAATTRIBUTE_H
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    21
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    22
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    23
#include <e32base.h>
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    24
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    25
/**
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    26
 * This interface is used to access Java application attributes.
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    27
 * In case of MIDlets, these attributes are defined in
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    28
 * Java Application Descriptor (JAD) and JAR manifest files.
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    29
 */
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    30
namespace Java
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    31
{
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    32
class MJavaAttribute
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    33
{
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    34
public:
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    35
    /**
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    36
    * This method returns name of attribute
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    37
    *
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    38
    * Since S60 v5.0
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    39
    */
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    40
    virtual const TDesC& Name() const = 0;
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    41
    /**
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    42
    * This method returns attribute's value
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    43
    *
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    44
    * Since S60 v5.0
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    45
    */
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    46
    virtual const TDesC& Value() const = 0;
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    47
    /**
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    48
    * This method returns if attribut is trusted or not (attribute is trusted if
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    49
    * JAR file is signed and attribute is present in JAR manifest)
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    50
    *
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    51
    * Since S60 v5.0
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    52
    */
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    53
    virtual TBool Trusted() const = 0;
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    54
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    55
    virtual ~MJavaAttribute() {};
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    56
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    57
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    58
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    59
};
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    60
} // namespace Registry
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    61
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    62
#endif // MJAVAATTRIBUTE_H
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    63
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    64
a3e98f9c292b added missing files
kashif.sayed
parents:
diff changeset
    65
// End of File