public bool CanHandle(ISourceFile file)
{
var result = false;
switch (Path.GetExtension(file.Location))
{
case ".h":
case ".cpp":
case ".hpp":
case ".c":
result = true;
break;
}
if (result)
{
if (!(file.Project is IStandardProject))
{
result = false;
}
}
return result;
}