Bug 332362 Correct misuse of ifdefs in /mailnews. Part 3. Correct MOZ_THUNDERBIRD to MOZ_XUL_APP in nsMessengerWinIntegration. r=bienvenu,sr=neil

This commit is contained in:
bugzilla%standard8.demon.co.uk 2006-03-31 15:35:04 +00:00
Родитель 0884885912
Коммит eb8726911a
2 изменённых файлов: 10 добавлений и 6 удалений

Просмотреть файл

@ -74,7 +74,8 @@
#include "nsNativeCharsetUtils.h"
#ifdef MOZ_THUNDERBIRD
// XXX test for this as long as there are still non-xul-app suite builds
#ifdef MOZ_XUL_APP
#include "nsToolkitCompsCID.h"
#define PROFILE_COMMANDLINE_ARG " -profile "
#else
@ -326,15 +327,15 @@ NOTIFYICONDATAW nsMessengerWinIntegration::sWideBiffIconData = { sizeof(NOTIFYIC
0,
0 };
#ifdef MOZ_THUNDERBIRD
#ifdef MOZ_STATIC_BUILD
#define MAIL_DLL_NAME NULL
#else
#ifdef MOZ_STATIC_MAIL_BUILD
#define MAIL_DLL_NAME "mail.dll"
#endif
#else
#define MAIL_DLL_NAME "msgbase.dll"
#endif
#endif
void nsMessengerWinIntegration::InitializeBiffStatusIcon()
{
@ -417,7 +418,8 @@ nsMessengerWinIntegration::Init()
if (mStoreUnreadCounts)
{
#ifdef MOZ_THUNDERBIRD
// XXX test for this as long as there are still non-xul-app suite builds
#ifdef MOZ_XUL_APP
// get current profile path for the commandliner
nsCOMPtr<nsIFile> profilePath;
rv = directoryService->Get(NS_APP_USER_PROFILE_50_DIR,
@ -1037,7 +1039,8 @@ nsMessengerWinIntegration::UpdateRegistryWithCurrent()
commandLinerForAppLaunch.Append(mAppName);
commandLinerForAppLaunch.Append(NS_LITERAL_STRING(DOUBLE_QUOTE));
commandLinerForAppLaunch.Append(NS_LITERAL_STRING(PROFILE_COMMANDLINE_ARG));
#ifdef MOZ_THUNDERBIRD
// XXX test for this as long as there are still non-xul-app suite builds
#ifdef MOZ_XUL_APP
commandLinerForAppLaunch.Append(NS_LITERAL_STRING(DOUBLE_QUOTE));
commandLinerForAppLaunch.Append(mProfilePath);
commandLinerForAppLaunch.Append(NS_LITERAL_STRING(DOUBLE_QUOTE));

Просмотреть файл

@ -153,7 +153,8 @@ private:
nsString mEmailPrefix;
nsCString mShellDllPath;
#ifdef MOZ_THUNDERBIRD
// XXX test for this as long as there are still non-xul-app suite builds
#ifdef MOZ_XUL_APP
nsString mProfilePath;
#else
nsXPIDLString mProfileName;