Ricky Hatton says he will quit boxing for good if he wins a world title during the second chapter of his career.