A tobacco pipe. Thing with lid on goes in one end of the y-shaped bit, the long bit in the other. The lid opens, and the lid's there so you can smoke when it's raining.
Edit: For anyone interested in how I got this so quickly; my dad has an old similar one from his grandmother, she was a switch board operator at the start of the last century, and he got to keep it's when she passed since he's also a pipe smoker. I don't think he's ever smoked it though, so I've had one in my home for my entire childhood :)