Skip to main content
ferro
Lead
Oct 3, 2024 1:33 PM UTC
Solved

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

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.
    LouisBBest answer
    ST Employee
    Oct 3, 2024 2:17 PM UTC

    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

    1 reply

    LouisBBest answer
    ST Employee
    Oct 3, 2024 2:17 PM UTC

    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