uigraphics/AknIcon/MifToCdlIndex/MifToCdlIndex.cpp
branchRCL_3
changeset 107 9f95a5546443
parent 106 e4e3998ddda2
equal deleted inserted replaced
106:e4e3998ddda2 107:9f95a5546443
   105 	mif.Read(mifName);
   105 	mif.Read(mifName);
   106 	const MifIndex& index = mif.Index();
   106 	const MifIndex& index = mif.Index();
   107 	mif.Modify(dllUid);
   107 	mif.Modify(dllUid);
   108 	mif.Write(mifName);
   108 	mif.Write(mifName);
   109 
   109 
   110 // START: Raptor chnages for linux
   110 	DllCreator dll;
   111 	const char* epocRoot = getenv("EPOCROOT");
       
   112 	if(NULL == epocRoot)
       
   113 	    {
       
   114 	    throw MainArgsErr();
       
   115 	    }
       
   116 	std::string epocRootStr(epocRoot); 
       
   117 	std::string finalStr = epocRootStr + "epoc32//include//platform//mw//MifHeader.cdl";
       
   118 
       
   119 	DllCreator dll(finalStr);
       
   120 //  END
       
   121 	dll.SetNameAndUid(dllName, dllUid);
   111 	dll.SetNameAndUid(dllName, dllUid);
   122 	dll.SetIndex(index);
   112 	dll.SetIndex(index);
   123 	dll.WriteSource();
   113 	dll.WriteSource();
   124 	if (writeDll)
   114 	if (writeDll)
   125 		dll.WriteDll();
   115 		dll.WriteDll();