fix bad exported function definitions. blocker bug 77176 code=jeff@tcbnetworks.com r=hyatt,me a=kysmith

This commit is contained in:
danm%netscape.com 2001-04-23 21:34:42 +00:00
parent eca8ed6549
commit 34d0fcb3be

View File

@ -25,16 +25,21 @@
#include "nsError.h"
// this component is for an MFC app; it's Windows. make sure this is defined.
#ifndef XP_WIN
#define XP_WIN
#endif
class nsIFactory;
// factory creator, in hard and soft link formats
extern "C" NS_EXPORT nsresult NS_NewPromptServiceFactory(nsIFactory** aFactory);
typedef nsresult (CALLBACK *MakeFactoryType)(nsIFactory **);
typedef nsresult (__cdecl *MakeFactoryType)(nsIFactory **);
#define kPromptServiceFactoryFuncName "NS_NewPromptServiceFactory"
// initialization function, in hard and soft link formats
extern "C" NS_EXPORT void InitPromptService(HINSTANCE instance);
typedef nsresult (CALLBACK *InitPromptServiceType)(HINSTANCE instance);
typedef nsresult (__cdecl *InitPromptServiceType)(HINSTANCE instance);
#define kPromptServiceInitFuncName "InitPromptService"
#endif