appinstaller/AppMngr2/inc/appmngr2logdatabaseentry.inl
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2008 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:   Inline functions defined in CAppMngr2LogDatabaseEntry
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // -----------------------------------------------------------------------------
       
    20 // CAppMngr2LogDatabaseEntry::Name()
       
    21 // -----------------------------------------------------------------------------
       
    22 //
       
    23 inline const TDesC& CAppMngr2LogDatabaseEntry::Name() const
       
    24     {
       
    25     if( iName )
       
    26         {
       
    27         return *iName;
       
    28         }
       
    29     return KNullDesC;
       
    30     }
       
    31 
       
    32 // -----------------------------------------------------------------------------
       
    33 // CAppMngr2LogDatabaseEntry::Time()
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 inline const TTime CAppMngr2LogDatabaseEntry::Time() const
       
    37     {
       
    38     return iTime;
       
    39     }
       
    40 
       
    41 // -----------------------------------------------------------------------------
       
    42 // CAppMngr2LogDatabaseEntry::Action()
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 inline const SwiUI::TLogTaskAction CAppMngr2LogDatabaseEntry::Action() const
       
    46     {
       
    47     return iAction;
       
    48     }
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 // CAppMngr2LogDatabaseEntry::Version()
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 inline const TDesC& CAppMngr2LogDatabaseEntry::Version() const
       
    55     {
       
    56     if( iVersion )
       
    57         {
       
    58         return *iVersion;
       
    59         }
       
    60     return KNullDesC;
       
    61     }
       
    62 
       
    63 // -----------------------------------------------------------------------------
       
    64 // CAppMngr2LogDatabaseEntry::Vendor()
       
    65 // -----------------------------------------------------------------------------
       
    66 //
       
    67 inline const TDesC& CAppMngr2LogDatabaseEntry::Vendor() const
       
    68     {
       
    69     if( iVendor )
       
    70         {
       
    71         return *iVendor;
       
    72         }
       
    73     return KNullDesC;
       
    74     }
       
    75