uifw/AvKon/src/akndiscreetpopupdata.cpp
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2009 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:  Global discreet popup data class.
       
    15 *
       
    16 */
       
    17 
       
    18 #include "akndiscreetpopupdata.h"
       
    19 
       
    20 // ======== MEMBER FUNCTIONS ========
       
    21 
       
    22 // ---------------------------------------------------------------------------
       
    23 // TAknDiscreetPopupCancelRequestData::SetStatusHandle
       
    24 // ---------------------------------------------------------------------------
       
    25 //
       
    26 void TAknDiscreetPopupCancelRequestData::SetStatusHandle( 
       
    27         const TUint& aHandle )
       
    28     {
       
    29     iStatusHandle = aHandle;
       
    30     }
       
    31 
       
    32 
       
    33 // ---------------------------------------------------------------------------
       
    34 // TAknDiscreetPopupLaunchData::SetAppUid
       
    35 // ---------------------------------------------------------------------------
       
    36 //
       
    37 void TAknDiscreetPopupLaunchData::SetAppUid( const TUid& aAppUid )
       
    38     {
       
    39     iAppUid = aAppUid;
       
    40     }
       
    41 
       
    42 
       
    43 // ---------------------------------------------------------------------------
       
    44 // TAknDiscreetPopupLaunchData::SetViewUid
       
    45 // ---------------------------------------------------------------------------
       
    46 //
       
    47 void TAknDiscreetPopupLaunchData::SetViewUid( const TUid& aViewUid )
       
    48     {
       
    49     iViewUid = aViewUid;
       
    50     }
       
    51 
       
    52 
       
    53 // ---------------------------------------------------------------------------
       
    54 // TAknDiscreetPopupLaunchData::SetAction
       
    55 // ---------------------------------------------------------------------------
       
    56 //
       
    57 void TAknDiscreetPopupLaunchData::SetAction( const TBool& aAction )
       
    58     {
       
    59     iAction = aAction;
       
    60     }
       
    61 
       
    62 
       
    63 // ---------------------------------------------------------------------------
       
    64 // TAknDiscreetPopupLaunchData::SetPopupId
       
    65 // ---------------------------------------------------------------------------
       
    66 //
       
    67 void TAknDiscreetPopupLaunchData::SetPopupId( const TInt& aPopupId )
       
    68     {
       
    69     iPopupId = aPopupId;
       
    70     }
       
    71 
       
    72 
       
    73 // ---------------------------------------------------------------------------
       
    74 // TAknDiscreetPopupParamData::SetTitleText
       
    75 // ---------------------------------------------------------------------------
       
    76 //
       
    77 void TAknDiscreetPopupParamData::SetTitleText( const TDesC& aTitleText )
       
    78     {
       
    79     iTitleText = aTitleText;
       
    80     }
       
    81 
       
    82 // ---------------------------------------------------------------------------
       
    83 // TAknDiscreetPopupParamData::SetBodyText
       
    84 // ---------------------------------------------------------------------------
       
    85 //
       
    86 void TAknDiscreetPopupParamData::SetBodyText(  const TDesC& aBodyText )
       
    87     {
       
    88     iBodyText = aBodyText;
       
    89     }
       
    90 
       
    91 
       
    92 // ---------------------------------------------------------------------------
       
    93 // TAknDiscreetPopupParamData::SetSkinId
       
    94 // ---------------------------------------------------------------------------
       
    95 //
       
    96 void TAknDiscreetPopupParamData::SetSkinId( const TAknsItemID& aSkinId )
       
    97     {
       
    98     iSkinId = aSkinId;
       
    99     }
       
   100 
       
   101 // ---------------------------------------------------------------------------
       
   102 // TAknDiscreetPopupParamData::SetBitmapFile
       
   103 // ---------------------------------------------------------------------------
       
   104 //
       
   105 void TAknDiscreetPopupParamData::SetBitmapFile( const TDesC& aBitmapFile )
       
   106     {
       
   107     iBitmapFile = aBitmapFile;
       
   108     }
       
   109 
       
   110 
       
   111 // ---------------------------------------------------------------------------
       
   112 // TAknDiscreetPopupParamData::SetBitmapId
       
   113 // ---------------------------------------------------------------------------
       
   114 //
       
   115 void TAknDiscreetPopupParamData::SetBitmapId( const TInt& aBitmapId )
       
   116     {
       
   117     iBitmapId = aBitmapId;
       
   118     }
       
   119 
       
   120 
       
   121 // ---------------------------------------------------------------------------
       
   122 // TAknDiscreetPopupParamData::SetMaskId
       
   123 // ---------------------------------------------------------------------------
       
   124 //
       
   125 void TAknDiscreetPopupParamData::SetMaskId( const TInt& aMaskId )
       
   126     {
       
   127     iMaskId = aMaskId;
       
   128     }
       
   129 
       
   130 
       
   131 // ---------------------------------------------------------------------------
       
   132 // TAknDiscreetPopupParamData::SetFlags
       
   133 // ---------------------------------------------------------------------------
       
   134 //
       
   135 void TAknDiscreetPopupParamData::SetFlags( const TInt& aFlags )
       
   136     {
       
   137     iFlags = aFlags;
       
   138     }
       
   139 
       
   140 
       
   141 // ---------------------------------------------------------------------------
       
   142 // TAknDiscreetPopupResourceData::SetResourceFile
       
   143 // ---------------------------------------------------------------------------
       
   144 //
       
   145 void TAknDiscreetPopupResourceData::SetResourceFile( const TDesC& aResourceFile )
       
   146     {
       
   147     iResourceFile = aResourceFile;
       
   148     }
       
   149 
       
   150 
       
   151 // ---------------------------------------------------------------------------
       
   152 // TAknDiscreetPopupResourceData::SetResourceId
       
   153 // ---------------------------------------------------------------------------
       
   154 //
       
   155 void TAknDiscreetPopupResourceData::SetResourceId( const TInt& aResourceId )
       
   156     {
       
   157     iResourceId = aResourceId;
       
   158     }
       
   159