Trying to figure out how to implement my WINC like compatibility layer. Going the emulation way is probably not so smart. We should not use the kernel but rather hook native functions in the Exec calls.
// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// Localisation DLL for the Japanese locale
// elocl.32 Locale information for Japan
//
//
/**
@file
*/
TARGET elocl.32
CAPABILITY All
TARGETTYPE dll
NOEXPORTLIBRARY
SOURCEPATH ../src
SOURCE ls_cy_template_japanese.cpp
SOURCE ls_ln_template_japanese.cpp
SOURCE ls_ms_template_japanese.cpp
SOURCE ls_table.cpp
SOURCEPATH ../Japanese/intermediate
SOURCE ls_unic_template_japanese.cpp
OS_LAYER_SYSTEMINCLUDE_SYMBIAN
SYMBIAN_BASE_SYSTEMINCLUDE(kernel)
USERINCLUDE ../src
#if defined(WINS)
DEFFILE /epoc32/release/wins/elocl.def
#elif defined(GCC32) && !defined(X86GCC)
DEFFILE \epoc32\release\marm\elocl.def
#else
DEFFILE /epoc32/include/def/eabi/elocl.def
#endif
LIBRARY euser.lib
START WINS
BASEADDRESS 0x58000000
END
UID 0x100039e6 0x10006598
VENDORID 0x70000001
SMPSAFE