proton cpp example