On Sun, 8 Sep 2002 14:52:50 +0200 (EET) Nerijus Baliunas 
<[EMAIL PROTECTED]> wrote:

NB> On Sun, 8 Sep 2002 14:39:34 +0200 (Romance Daylight Time) Vadim Zeitlin 
<[EMAIL PROTECTED]> wrote:
NB> 
NB> VZ> NB> +#include <wx/confbase.h>
NB> VZ> NB> +
NB> VZ> 
NB> VZ>  Why was this needed? I don't think Profile.h should include this header.
NB> VZ> Maybe it's needed in Profile.cpp? But then it should include it, not the
NB> VZ> header (as in the latter case almost all files in the project start
NB> VZ> depending on it!).
NB> 
NB> In file included from /a/M/M/include/Mdefaults.h:18,
NB>                  from /a/M/M/include/MApplication.h:19,
NB>                  from .src/adb/AdbDialogs.cpp:25:
NB> /a/M/M/include/Profile.h:162: ISO C++ forbids declaration of `EntryType' with 
NB>    no type
NB> /a/M/M/include/Profile.h:162: invalid use of undefined type `class 
NB>    wxConfigBase'
NB> /a/M/M/include/Profile.h:79: forward declaration of `class wxConfigBase'
NB> 
NB> So what should I do?

 Ah, ok, I see -- I didn't know about this change, in fact, this is why I
couldn't understand why this #include confbase.h was suddenly necessary.

 We're going to leave it in place for now but ideally I'd like to not have
GetEntryType() at all in Profile. Xavier, do you know about CopyEntries()
function in util/upgrade.cpp? Maybe you could make it public and use it
instead of the code currently in MFolderFromProfile::Move()?

 Thanks!
VZ



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to