Source for specific EDGE device

Hi,

We are developing a datafield for EDGE1030 device and we want to extend to 530/830.... Reading GARMIN Core Topics document we read that we can use "exclude qualifiers".

This is hwo it looks...

(:Edge530)
    function EDGELayout()
    {
    }
   
(:Edge1030)
    function EDGELayout()
    {
    }

But when we compile source, we are gettig error message "Duplicate declaration of symbol 'EDGELayout' in class 'EDGEGiroView'."

Where's the mistake :(

Best regards,