Skip to main content
ferro
Lead
October 3, 2024
Solved

"using namespace touchgfx;" in FrontendApplication.hpp and ScreenPresenter.hpp

  • October 3, 2024
  • 1 reply
  • 540 views

Dear Gfx Team,

GfxDesigner generates header files with line "using namespace touchgfx;"

Code still compiles without it. Could these be removed ?

 

Thanks

Best answer by LouisB

Hello @ferro ,

We are planning to remove this in a future version, if you remove this then I recommend you to do:

 

 

namespace touchgfx
{
 class FrontendApplication ...
}

 


Best regards,

1 reply

LouisBBest answer
ST Employee
October 3, 2024

Hello @ferro ,

We are planning to remove this in a future version, if you remove this then I recommend you to do:

 

 

namespace touchgfx
{
 class FrontendApplication ...
}

 


Best regards,