breakdeps/MCSSatHandler/mcssathandler.cpp
author William Roberts <williamr@symbian.org>
Thu, 18 Nov 2010 15:45:28 +0000
changeset 138 6028e81d48fd
parent 110 3aa4235c5e9b
permissions -rw-r--r--
Update stem_rom.oby and rom_content.csv to remove multimedia Also removed spurious Phonebook2_reg.rsc file which causes PhoneBook to appear in the matrix menu
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
109
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     1
/*
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     2
* Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     3
* All rights reserved.
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     4
* This component and the accompanying materials are made available
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     6
* which accompanies this distribution, and is available
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     8
*
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
     9
* Initial Contributors:
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    11
*
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    12
* Contributors:
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    13
*
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    14
* Description:  Used for receive SIM Application name, icon or 
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    15
*                visibility information.
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    16
*
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    17
*/
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    18
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    19
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    20
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    21
// INCLUDE FILES
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    22
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    23
#include <e32property.h>
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    24
// From SatClient
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    25
#include "mcsdef.h"
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    26
#include <bitdev.h>
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    27
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    28
#include "mcssathandler.h"
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    29
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    30
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    31
// ============================ MEMBER FUNCTIONS ===============================
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    32
// -----------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    33
// CMcsSatHandler::NewL
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    34
// Two-phased constructor.
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    35
// -----------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    36
//
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    37
EXPORT_C CMcsSatHandler* CMcsSatHandler::NewL()
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    38
    {
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    39
    CMcsSatHandler* self = new( ELeave ) CMcsSatHandler( );
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    40
    CleanupStack::PushL( self );
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    41
    self->ConstructL();
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    42
    CleanupStack::Pop( self );
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    43
    return self;
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    44
    }
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    45
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    46
// -----------------------------------------------------------------------------    
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    47
// Destructor
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    48
// -----------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    49
CMcsSatHandler::~CMcsSatHandler()
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    50
    {
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    51
    }
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    52
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    53
// -----------------------------------------------------------------------------    
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    54
// Destructor
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    55
// -----------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    56
EXPORT_C CAknIcon* CMcsSatHandler::LoadIconL()
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    57
    {
110
3aa4235c5e9b Remove dependency of MCS on SAT, one step close to removing ETEL: boots but still gives and empty folder.
Tom Pritchard <tomp@symbian.org>
parents: 109
diff changeset
    58
    return NULL;    
109
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    59
    }
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    60
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    61
// ---------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    62
// CMenuSATHandler::GetName
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    63
// ---------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    64
//    
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    65
EXPORT_C TInt CMcsSatHandler::GetName( TDes& aName )
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    66
    {
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    67
    return RProperty::Get( KCRUidMenu, KMenuSatUIName, aName );
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    68
    }
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    69
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    70
// ---------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    71
// CMenuSATHandler::GetVisibility
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    72
// ---------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    73
//        
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    74
EXPORT_C TBool CMcsSatHandler::CheckVisibility() 
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    75
    {
110
3aa4235c5e9b Remove dependency of MCS on SAT, one step close to removing ETEL: boots but still gives and empty folder.
Tom Pritchard <tomp@symbian.org>
parents: 109
diff changeset
    76
    return EFalse;
109
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    77
    }
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    78
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    79
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    80
// -----------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    81
// CMcsSatHandler::CMcsSatHandler
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    82
// C++ default constructor can NOT contain any code, that
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    83
// might leave.
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    84
// -----------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    85
//
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    86
CMcsSatHandler::CMcsSatHandler()
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    87
    {
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    88
    }
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    89
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    90
// -----------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    91
// CMcsSatHandler::ConstructL
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    92
// Symbian 2nd phase constructor can leave.
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    93
// -----------------------------------------------------------------------------
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    94
//
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    95
void CMcsSatHandler::ConstructL()
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    96
    {
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    97
    }
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    98
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
    99
    
fddd8ce1f29d Add a version of the MCS SAT Handler ready for stemming
Tom Pritchard <tomp@symbian.org>
parents:
diff changeset
   100
//  End of File