I'm working on a CAknSingleGraphicStyleListBox list here and I have implemented the access to the mbm file in the following way :

TFileName iconfile(_L("\\resource\\apps\\MyApp.mbm"));
And I am getting an icon from it using :
AknIconUtils::CreateIconL(myTestListIcon, myTestListMask, iconfile, 1, 2);
Is there a better way to do this ? For example, I don't like the fact that the .mbm file path is hardcoded. And also the icon id and the mask id.

Thank you in advance