Skip to main content
ferro
Lead
October 3, 2024
Solved

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

  • October 3, 2024
  • 1 reply
  • 555 views

Dear Gfx Team,

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

Code still compiles without it. Could these be removed ?

 

Thanks

    This topic has been closed for replies.
    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,

    Louis BOUDOST Software Engineer | TouchGFX