Function that can be executed only once

An example showing how to create a function that can be executed only once using Tizen 2.3.