89 |
90 |
90 TFileName file = iLibrary.FileName(); |
91 TFileName file = iLibrary.FileName(); |
91 TUidType uids = iLibrary.Type(); |
92 TUidType uids = iLibrary.Type(); |
92 Printf(_L("Loaded %S\r\n"), &file); |
93 Printf(_L("Loaded %S\r\n"), &file); |
93 Printf(_L("Uids: 0x%x, 0x%x, 0x%x\r\n"), uids[0].iUid, uids[1].iUid, uids[2].iUid); |
94 Printf(_L("Uids: 0x%x, 0x%x, 0x%x\r\n"), uids[0].iUid, uids[1].iUid, uids[2].iUid); |
|
95 |
|
96 if (iNoWait) Complete(KErrNone); |
94 } |
97 } |
95 |
98 |
96 void CCmdLoad::OptionsL(RCommandOptionList& aOptions) |
99 void CCmdLoad::OptionsL(RCommandOptionList& aOptions) |
97 { |
100 { |
98 _LIT(KCmdOptUid, "uid"); |
101 _LIT(KCmdOptUid, "uid"); |
99 aOptions.AppendUintL(iUids, KCmdOptUid); |
102 aOptions.AppendUintL(iUids, KCmdOptUid); |
100 |
103 |
101 _LIT(KCmdOptVersion, "version"); |
104 _LIT(KCmdOptVersion, "version"); |
102 aOptions.AppendUintL(iModuleVersion, KCmdOptVersion); |
105 aOptions.AppendUintL(iModuleVersion, KCmdOptVersion); |
|
106 |
|
107 _LIT(KCmdOptNoWait, "nowait"); |
|
108 aOptions.AppendBoolL(iNoWait, KCmdOptNoWait); |
103 } |
109 } |
104 |
110 |
105 void CCmdLoad::ArgumentsL(RCommandArgumentList& aArguments) |
111 void CCmdLoad::ArgumentsL(RCommandArgumentList& aArguments) |
106 { |
112 { |
107 _LIT(KCmdArgFileName, "dll_name"); |
113 _LIT(KCmdArgFileName, "dll_name"); |