|
|
|
There is no specific API for this but the following approach can be used:
_LIT(KUIQSvgSupport, "UIQSvgSupport.sis");
_LIT(KPlatformDir, "z:\\system\\install\\");
RFs fs;
TInt res;
fs.Connect();
// Check if SVG is supported or not
TFindFile ff(fs);
res = ff.FindByDir(KUIQSvgSupport, KPlatformDir);
if (res == KErrNone)
{
// Running on a platform supporting SVG
}
else
{
// Doesn't support SVG
}
fs.Close();