uigraphics/AknIcon/MifToCdlIndex/MifToCdlIndex.cpp
changeset 93 b705c392b9a4
parent 0 05e9090e2422
child 107 9f95a5546443
equal deleted inserted replaced
85:d8333970eafb 93:b705c392b9a4
   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 	DllCreator dll;
   110 // START: Raptor chnages for linux
       
   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
   111 	dll.SetNameAndUid(dllName, dllUid);
   121 	dll.SetNameAndUid(dllName, dllUid);
   112 	dll.SetIndex(index);
   122 	dll.SetIndex(index);
   113 	dll.WriteSource();
   123 	dll.WriteSource();
   114 	if (writeDll)
   124 	if (writeDll)
   115 		dll.WriteDll();
   125 		dll.WriteDll();