sysstatemgmt/systemstatemgr/sus/src/ssmsuscli.cpp
branchRCL_3
changeset 21 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 22 8cb079868133
equal deleted inserted replaced
20:1ddbe54d0645 21:ccb4f6b3db21
   107  Use this function to request asynchronous loading of a utility plugin.
   107  Use this function to request asynchronous loading of a utility plugin.
   108  
   108  
   109  Usage pattern:
   109  Usage pattern:
   110  @code
   110  @code
   111 	RSsmSusCli session;
   111 	RSsmSusCli session;
   112 	session.Connect();
   112 	User::LeaveIfError(fs.Connect());
   113 	CleanupStackClosePushL(session);
   113 	CleanupStackClosePushL(session);
   114 	TPckgC<TSsmSupInfo>* infoBuf = new (ELeave) TPckgC<TSsmSupInfo>(info);
   114 	TPckgC<TSsmSupInfo>* infoBuf = new (ELeave) TPckgC<TSsmSupInfo>(info);
   115 	session.RequestLoadSup(*infoBuf, status);
   115 	session.RequestLoadSup(*infoBuf, status);
   116 	...
   116 	...
   117 	//It is expected that production code will use an active-object instead of User::WaitForRequest.
   117 	//It is expected that production code will use an active-object instead of User::WaitForRequest.