Heating of protons by resonant absorption in a multicomponent plasma: 2. Theoretical model