Book a Demo

Author Topic: Multiple classes in one source file  (Read 3809 times)

Ola Rylow

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Multiple classes in one source file
« on: July 02, 2002, 02:24:22 am »
Hi!

I have a problem when trying to synchronize my model with my source code. In a header file I have declared three classes and when I try to reverse engineer these classes none of them is correct. Neither was my attempt to remove the classes in the model and then import them again, successful.
Suggestions anyone? Or doesn't EA support multiple class declarations in one header file?

Regards

Ola

AdamHearn

  • EA User
  • **
  • Posts: 58
  • Karma: +0/-0
    • View Profile
Re: Multiple classes in one source file
« Reply #1 on: July 02, 2002, 03:38:32 am »
It's in the docs somewhere that EA reverse engineer only supports one class per file.

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Multiple classes in one source file
« Reply #2 on: July 02, 2002, 06:20:05 am »
Hi,

Ea supports reading in multiple classes from a single file - and synchronizing with those classes. It does not support adding a class to an existing hgeader file.

So your code should import OK. If you could send me c copy I will have a look and let you knwo what the problem is.

send to: [email protected]

Cheers,
Geoff Sparks