зеркало из https://github.com/mozilla/pjs.git
exporting classes to get julian to link with nlsstub
This commit is contained in:
Родитель
6c40c9c92f
Коммит
aa1ab1ed1c
|
@ -1,42 +0,0 @@
|
|||
#ifdef XP_PC
|
||||
#include <windows.h>
|
||||
#include "nlsloc.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
BOOL WINAPI DllMain (HINSTANCE hDLL, DWORD dwReason, LPVOID lpReserved)
|
||||
{
|
||||
switch (dwReason)
|
||||
{
|
||||
case DLL_PROCESS_ATTACH:
|
||||
break;
|
||||
|
||||
case DLL_THREAD_ATTACH:
|
||||
break;
|
||||
|
||||
case DLL_THREAD_DETACH:
|
||||
break;
|
||||
|
||||
case DLL_PROCESS_DETACH:
|
||||
NLS_Terminate();
|
||||
break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#else /* ! _WIN32 */
|
||||
|
||||
int CALLBACK LibMain( HINSTANCE hInst, WORD wDataSeg,
|
||||
WORD cbHeapSize, LPSTR lpszCmdLine )
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL CALLBACK __loadds WEP(BOOL fSystemExit)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
#endif /* ! _WIN32 */
|
||||
|
||||
|
||||
#endif /* XP_PC */
|
|
@ -41,7 +41,11 @@ MAKE_OBJ_TYPE = DLL
|
|||
|
||||
include <$(NS_DEPTH)/config/config.mak>
|
||||
|
||||
REQUIRES=nls
|
||||
!ifdef MOZ_TREX
|
||||
CFLAGS = $(CFLAGS) -I$(PUBLIC)\public\raptor -I$(PUBLIC)\public\xpcom -DMOZ_TREX
|
||||
!endif
|
||||
|
||||
REQUIRES=nls raptor xpcom
|
||||
|
||||
OBJS = $(OBJS) \
|
||||
!ifndef MOZ_TREX
|
||||
|
@ -145,7 +149,7 @@ LLIBS = $(LLIBS) \
|
|||
!endif
|
||||
$(NULL)
|
||||
|
||||
LINCS=-I$(XPDIST)\public\nls
|
||||
#LINCS=-I$(XPDIST)\public\nls -I$(PUBLIC)\public\raptor -I$(PUBLIC)\public\xpcom
|
||||
|
||||
#// From the old Manifest file
|
||||
CSRCS=julmain.c
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
class TimeZone;
|
||||
class ParsePosition;
|
||||
|
||||
class Calendar
|
||||
class NS_NLS Calendar
|
||||
{
|
||||
|
||||
public:
|
||||
|
|
|
@ -26,7 +26,7 @@ class ParsePosition;
|
|||
class Format;
|
||||
class TimeZone;
|
||||
|
||||
class DateFormat
|
||||
class NS_NLS DateFormat
|
||||
{
|
||||
|
||||
public:
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
class TimeZone;
|
||||
class Locale;
|
||||
|
||||
class GregorianCalendar : public Calendar
|
||||
class NS_NLS GregorianCalendar : public Calendar
|
||||
{
|
||||
|
||||
public:
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
class UnicodeString;
|
||||
|
||||
class Locale
|
||||
class NS_NLS Locale
|
||||
{
|
||||
|
||||
public:
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
typedef PRUint32 NLS_ThreadInfo;
|
||||
typedef PRUint32 NLS_ErrorCode;
|
||||
|
||||
NLS_ErrorCode NLS_Initialize(const NLS_ThreadInfo * aThreadInfo, const char * aDataDirectory);
|
||||
NLS_ErrorCode NLS_Terminate(void);
|
||||
NLS_ErrorCode NS_NLS NLS_Initialize(const NLS_ThreadInfo * aThreadInfo, const char * aDataDirectory);
|
||||
NLS_ErrorCode NS_NLS NLS_Terminate(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "ptypes.h"
|
||||
|
||||
class ParsePosition
|
||||
class NS_NLS ParsePosition
|
||||
{
|
||||
|
||||
public:
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#ifndef ptypes_h__
|
||||
#define ptypes_h__
|
||||
|
||||
#include "nscore.h"
|
||||
#include "nspr.h"
|
||||
|
||||
typedef double Date;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "timezone.h"
|
||||
|
||||
class SimpleTimeZone : public TimeZone
|
||||
class NS_NLS SimpleTimeZone : public TimeZone
|
||||
{
|
||||
|
||||
public:
|
||||
|
|
|
@ -27,7 +27,7 @@ class Formattable;
|
|||
class ParsePosition;
|
||||
class Format;
|
||||
|
||||
class FieldPosition
|
||||
class NS_NLS FieldPosition
|
||||
{
|
||||
public:
|
||||
FieldPosition();
|
||||
|
@ -35,7 +35,7 @@ public:
|
|||
FieldPosition(PRInt32 aField);
|
||||
};
|
||||
|
||||
class SimpleDateFormat : public DateFormat
|
||||
class NS_NLS SimpleDateFormat : public DateFormat
|
||||
{
|
||||
public:
|
||||
SimpleDateFormat();
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
class UnicodeString;
|
||||
|
||||
class TimeZone
|
||||
class NS_NLS TimeZone
|
||||
{
|
||||
|
||||
public:
|
||||
|
|
Загрузка…
Ссылка в новой задаче