lafagnosticuifoundation/cone/src/COEMAINSECUREFEP.CPP
changeset 30 56e9a0aaad89
parent 0 2f259fa3e83a
equal deleted inserted replaced
26:62ef28f7b435 30:56e9a0aaad89
    16 #include <coemain.h>
    16 #include <coemain.h>
    17 #include "coeenvextra.h"
    17 #include "coeenvextra.h"
    18 #include "coepanic.h"
    18 #include "coepanic.h"
    19 #include <fepplugin.h>
    19 #include <fepplugin.h>
    20 #include "COEFEP.H"
    20 #include "COEFEP.H"
    21 #include "coedatastorage.h"
    21 #include "CoeDataStorage.h"
    22 
    22 
    23 
    23 
    24 #include <ecom/ecom.h>
    24 #include <ecom/ecom.h>
    25 
    25 
    26 
    26 
    72 
    72 
    73 @param	aUids The array of FEP UIDs to be filled.
    73 @param	aUids The array of FEP UIDs to be filled.
    74 @param	aDisplayNames The array of FEP display names to be filled. May be passed as NULL if display names are not required.
    74 @param	aDisplayNames The array of FEP display names to be filled. May be passed as NULL if display names are not required.
    75 */
    75 */
    76 	{
    76 	{
       
    77     CleanupClosePushL(aUids);
    77 	aUids.Reset();
    78 	aUids.Reset();
    78 	if(aDisplayNames)
    79 	if(aDisplayNames)
    79 		{
    80 		{
    80 		aDisplayNames->Reset();
    81 		aDisplayNames->Reset();
    81 		}
    82 		}
    91 			{
    92 			{
    92 			aDisplayNames->AppendL(impl.DisplayName());
    93 			aDisplayNames->AppendL(impl.DisplayName());
    93 			}
    94 			}
    94 		}
    95 		}
    95 	CleanupStack::PopAndDestroy(&implementationArray);
    96 	CleanupStack::PopAndDestroy(&implementationArray);
       
    97 	CleanupStack::Pop(&aUids);
    96 	}
    98 	}
    97 
    99 
    98 EXPORT_C void CCoeEnv::InstallFepL(TUid aFepUid)
   100 EXPORT_C void CCoeEnv::InstallFepL(TUid aFepUid)
    99 /**
   101 /**
   100 Loads the specified secure FEP into all running applications. 
   102 Loads the specified secure FEP into all running applications.