logsui/logsserviceextension/inc/tlogseventinfo.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Encapsulates log event information
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef T_TLOGSEVENTINFO_H
       
    21 #define T_TLOGSEVENTINFO_H
       
    22 
       
    23 
       
    24 #include <logwrap.h>
       
    25 
       
    26 
       
    27 /**
       
    28  *  Encapsulates log event information
       
    29  *
       
    30  *  @since S60 v3.2
       
    31  */
       
    32 NONSHARABLE_CLASS(TLogsEventInfo) 
       
    33     {
       
    34 
       
    35 public:
       
    36 
       
    37     /**
       
    38      * Constructor
       
    39      */
       
    40     TLogsEventInfo();
       
    41     
       
    42     
       
    43     /**
       
    44      * Constructor
       
    45      *
       
    46      * @since S60 v3.2
       
    47      * @param aServiceId a service id
       
    48      */
       
    49     TLogsEventInfo( TUint32 aServiceId );
       
    50     
       
    51 
       
    52     /**
       
    53      * Sets the branding icon index of this event.
       
    54      *
       
    55      * @since S60 v3.2
       
    56      * @param aBrandingIconIndex The branding icon index of this event. 
       
    57      * The index is the absolute position of the branding icon in the icon array.
       
    58      */
       
    59     void SetBrandingIconIndex( TInt aBrandingIconIndex );
       
    60 
       
    61 
       
    62     /**
       
    63      * Gets the Service Id
       
    64      *
       
    65      * @since S60 v3.2
       
    66      * @return The Service Id of this event
       
    67      */
       
    68     TUint32 ServiceId();
       
    69 
       
    70 
       
    71     /**
       
    72      * Gets the branding icon index
       
    73      *
       
    74      * @since S60 v3.2
       
    75      * @return The branding icon index of this event
       
    76      */
       
    77     TInt BrandingIconIndex();
       
    78 
       
    79 
       
    80 private: // data
       
    81 
       
    82     /**
       
    83      * Service Id
       
    84      */
       
    85     TUint32 iServiceId;
       
    86 
       
    87     /**
       
    88      * Index of branding icon of the service 'iServiceId' in the 
       
    89      * icon array.
       
    90      */
       
    91     TInt iBrandingIconIndex;
       
    92 
       
    93     };
       
    94 
       
    95 
       
    96 #endif // T_TLOGSEVENTINFO_H