I havn't (yet) tested your example - but generally speaking, with the definition in one file and the usage in one or more other files, you have to build the project for the browse database to be updated.
When editing a source file, I will only try to scan that single file automatically - no #include files.
( Possibly also use 'Update all dependencies' to make sure the #include file is part of the project. )
Pelle