put the delegate type declaration in a separate source file