Book a Demo

Author Topic: c++ code template: prototypes instead of includes  (Read 2228 times)

lorenzenk

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
c++ code template: prototypes instead of includes
« on: February 05, 2010, 09:00:39 pm »
hello,

is it possible to change the code template to automatically generate class prototypes in header files instead of includes? It's because includes in headers increase the compile time and should be avoided if possible.

Imagine this little example: ClassA is associated with ClassB. It would be useful if EA would automatically generate the following line within "ClassA.h":
Code: [Select]
Class ClassB;Yet I have no clue what macros to use or if it can even be done at all.
« Last Edit: February 05, 2010, 09:01:44 pm by lorenzenk »