phoneapp/phoneuiutils/src/tphonecmdparamsingleitemfetch.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 51 f39ed5e045e0
child 62 5266b1f337bd
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    68 // (other items were commented in a header).
    68 // (other items were commented in a header).
    69 // ---------------------------------------------------------
    69 // ---------------------------------------------------------
    70 //
    70 //
    71 EXPORT_C void TPhoneCmdParamSingleItemFetch::SetTitlePaneResourceId( 
    71 EXPORT_C void TPhoneCmdParamSingleItemFetch::SetTitlePaneResourceId( 
    72    TInt aTitlePaneResourceId )
    72    TInt aTitlePaneResourceId )
    73    	{
    73     {
    74    	__ASSERT_DEBUG( aTitlePaneResourceId, 
    74     __ASSERT_DEBUG( aTitlePaneResourceId, 
    75    		Panic( EPhoneUtilsParameterNotInitialized ) );
    75         Panic( EPhoneUtilsParameterNotInitialized ) );
    76    	iTitlePaneResourceId = aTitlePaneResourceId;   
    76     iTitlePaneResourceId = aTitlePaneResourceId;   
    77    	}
    77     }
    78 
    78 
    79 // ---------------------------------------------------------
    79 // ---------------------------------------------------------
    80 // TPhoneCmdParamSingleItemFetch::TitleResourceId
    80 // TPhoneCmdParamSingleItemFetch::TitleResourceId
    81 // Returns the title pane resource id
    81 // Returns the title pane resource id
    82 // (other items were commented in a header).
    82 // (other items were commented in a header).
    83 // ---------------------------------------------------------
    83 // ---------------------------------------------------------
    84 //
    84 //
    85 EXPORT_C TInt TPhoneCmdParamSingleItemFetch::TitlePaneResourceId() const
    85 EXPORT_C TInt TPhoneCmdParamSingleItemFetch::TitlePaneResourceId() const
    86    	{
    86     {
    87    	__ASSERT_DEBUG( iTitlePaneResourceId, 
    87     __ASSERT_DEBUG( iTitlePaneResourceId, 
    88    		Panic( EPhoneUtilsInvariant ) );
    88         Panic( EPhoneUtilsInvariant ) );
    89    	return iTitlePaneResourceId;
    89     return iTitlePaneResourceId;
    90    	}
    90     }
    91 
    91 
    92 // ---------------------------------------------------------
    92 // ---------------------------------------------------------
    93 // TPhoneCmdParamSingleItemFetch::SetCbaResourceId
    93 // TPhoneCmdParamSingleItemFetch::SetCbaResourceId
    94 // Sets the single item fetch dialog CBA resource id
    94 // Sets the single item fetch dialog CBA resource id
    95 // (other items were commented in a header).
    95 // (other items were commented in a header).
    96 // ---------------------------------------------------------
    96 // ---------------------------------------------------------
    97 //
    97 //
    98 EXPORT_C void TPhoneCmdParamSingleItemFetch::SetCbaResourceId( 
    98 EXPORT_C void TPhoneCmdParamSingleItemFetch::SetCbaResourceId( 
    99    TInt aCbaResourceId )
    99    TInt aCbaResourceId )
   100    	{
   100     {
   101    	__ASSERT_DEBUG( aCbaResourceId, 
   101     __ASSERT_DEBUG( aCbaResourceId, 
   102    		Panic( EPhoneUtilsParameterNotInitialized ) );
   102         Panic( EPhoneUtilsParameterNotInitialized ) );
   103    	iCbaResourceId = aCbaResourceId;   
   103     iCbaResourceId = aCbaResourceId;   
   104    	}
   104     }
   105 
   105 
   106 // ---------------------------------------------------------
   106 // ---------------------------------------------------------
   107 // TPhoneCmdParamSingleItemFetch::CbaResourceId
   107 // TPhoneCmdParamSingleItemFetch::CbaResourceId
   108 // Returns the single item fetch dialog CBA resource id
   108 // Returns the single item fetch dialog CBA resource id
   109 // (other items were commented in a header).
   109 // (other items were commented in a header).
   110 // ---------------------------------------------------------
   110 // ---------------------------------------------------------
   111 //
   111 //
   112 EXPORT_C TInt TPhoneCmdParamSingleItemFetch::CbaResourceId() const
   112 EXPORT_C TInt TPhoneCmdParamSingleItemFetch::CbaResourceId() const
   113    	{
   113     {
   114    	__ASSERT_DEBUG( iCbaResourceId, 
   114     __ASSERT_DEBUG( iCbaResourceId, 
   115    		Panic( EPhoneUtilsInvariant ) );
   115         Panic( EPhoneUtilsInvariant ) );
   116    	return iCbaResourceId;
   116     return iCbaResourceId;
   117    	}
   117     }
   118 
   118 
   119 // ---------------------------------------------------------
   119 // ---------------------------------------------------------
   120 // TPhoneCmdParamSingleItemFetch::SetString
   120 // TPhoneCmdParamSingleItemFetch::SetString
   121 // Sets the string for the single item fetch dialog
   121 // Sets the string for the single item fetch dialog
   122 // (other items were commented in a header).
   122 // (other items were commented in a header).
   123 // ---------------------------------------------------------
   123 // ---------------------------------------------------------
   124 //
   124 //
   125 EXPORT_C void TPhoneCmdParamSingleItemFetch::SetString( TDes* aString )
   125 EXPORT_C void TPhoneCmdParamSingleItemFetch::SetString( TDes* aString )
   126    	{
   126     {
   127    	__ASSERT_DEBUG( aString, 
   127     __ASSERT_DEBUG( aString, 
   128    		Panic( EPhoneUtilsParameterNotInitialized ) );
   128         Panic( EPhoneUtilsParameterNotInitialized ) );
   129    	iString = aString;
   129     iString = aString;
   130    	}
   130     }
   131 
   131 
   132 // ---------------------------------------------------------
   132 // ---------------------------------------------------------
   133 // TPhoneCmdParamSingleItemFetch::String
   133 // TPhoneCmdParamSingleItemFetch::String
   134 // Returns the string for the single item fetch dialog
   134 // Returns the string for the single item fetch dialog
   135 // (other items were commented in a header).
   135 // (other items were commented in a header).
   136 // ---------------------------------------------------------
   136 // ---------------------------------------------------------
   137 //
   137 //
   138 EXPORT_C TDes* TPhoneCmdParamSingleItemFetch::String() const
   138 EXPORT_C TDes* TPhoneCmdParamSingleItemFetch::String() const
   139    	{
   139     {
   140    	__ASSERT_DEBUG( iString, 
   140     __ASSERT_DEBUG( iString, 
   141    		Panic( EPhoneUtilsInvariant ) );
   141         Panic( EPhoneUtilsInvariant ) );
   142    	return iString;
   142     return iString;
   143    	}
   143     }
   144    
   144    
   145 //  End of File  
   145 //  End of File