mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
git-svn-id: https://zxing.googlecode.com/svn/trunk@1336 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
715eecb593
commit
0ce1ed851f
|
@ -26,9 +26,10 @@
|
||||||
<ARGUMENTS_DATA_ID ABLDFREEZEARGSSTORAGE="-r"/>
|
<ARGUMENTS_DATA_ID ABLDFREEZEARGSSTORAGE="-r"/>
|
||||||
<ROM_BUILDER_DATA_ID ROMBUILDWORKINGDIRECTORYSTORAGE="C:\"/>
|
<ROM_BUILDER_DATA_ID ROMBUILDWORKINGDIRECTORYSTORAGE="C:\"/>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
<storageModule filesCache="C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\bld.inf;C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\CameraWrapperExample.mmp;" includesCache="C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/sys;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/variant;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/ecom;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport/stl;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/inc;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/common/reedsolomon;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/oned;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/decoder;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/detector;" macrosCache="_UNICODE;__SYMBIAN32__;__SUPPORT_CPP_EXCEPTIONS__;__EXE__;__S60_3X__;__SERIES60_3X__;__S60_5X__;__CW32__;__WINS__;__WINSCW__;__S60_50__;_DEBUG;" moduleId="configDataCache" sourcesCache="/ZXingBarcodeReader/data;/ZXingBarcodeReader/group;/ZXingBarcodeReader/group/zxing;/ZXingBarcodeReader/group/zxing/common;/ZXingBarcodeReader/group/zxing/common/reedsolomon;/ZXingBarcodeReader/group/zxing/oned;/ZXingBarcodeReader/group/zxing/qrcode;/ZXingBarcodeReader/group/zxing/qrcode/decoder;/ZXingBarcodeReader/group/zxing/qrcode/detector;/ZXingBarcodeReader/inc;/ZXingBarcodeReader/src;" timestampCache="1272924381505" useMmpMacrosCache="true"/>
|
<storageModule filesCache="C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\ZXingBarcodeReader.mmp;C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\bld.inf;" includesCache="C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/sys;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/variant;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/ecom;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport/stl;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/inc;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/common/reedsolomon;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/oned;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/decoder;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/detector;" macrosCache="_UNICODE;__SYMBIAN32__;__SUPPORT_CPP_EXCEPTIONS__;__EXE__;__S60_3X__;__SERIES60_3X__;__S60_5X__;__CW32__;__WINS__;__WINSCW__;__S60_50__;_DEBUG;" moduleId="configDataCache" sourcesCache="/ZXingBarcodeReader/data;/ZXingBarcodeReader/group;/ZXingBarcodeReader/group/zxing;/ZXingBarcodeReader/group/zxing/common;/ZXingBarcodeReader/group/zxing/common/reedsolomon;/ZXingBarcodeReader/group/zxing/oned;/ZXingBarcodeReader/group/zxing/qrcode;/ZXingBarcodeReader/group/zxing/qrcode/decoder;/ZXingBarcodeReader/group/zxing/qrcode/detector;/ZXingBarcodeReader/inc;/ZXingBarcodeReader/src;" timestampCache="1272964065464" useMmpMacrosCache="true"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||||
</cconfiguration>
|
</cconfiguration>
|
||||||
<cconfiguration id="Phone Debug (ARMV5) [S60_5th_Edition_SDK_v1.0]">
|
<cconfiguration id="Phone Debug (ARMV5) [S60_5th_Edition_SDK_v1.0]">
|
||||||
<storageModule buildSystemId="com.nokia.carbide.cdt.builder.CarbideConfigurationDataProvider" id="Phone Debug (ARMV5) [S60_5th_Edition_SDK_v1.0]" moduleId="org.eclipse.cdt.core.settings" name="Phone Debug (ARMV5) [S60_5th_Edition_SDK_v1.0]">
|
<storageModule buildSystemId="com.nokia.carbide.cdt.builder.CarbideConfigurationDataProvider" id="Phone Debug (ARMV5) [S60_5th_Edition_SDK_v1.0]" moduleId="org.eclipse.cdt.core.settings" name="Phone Debug (ARMV5) [S60_5th_Edition_SDK_v1.0]">
|
||||||
|
@ -53,9 +54,10 @@
|
||||||
<ARGUMENTS_DATA_ID ABLDFREEZEARGSSTORAGE="-r"/>
|
<ARGUMENTS_DATA_ID ABLDFREEZEARGSSTORAGE="-r"/>
|
||||||
<ROM_BUILDER_DATA_ID ROMBUILDWORKINGDIRECTORYSTORAGE="C:\"/>
|
<ROM_BUILDER_DATA_ID ROMBUILDWORKINGDIRECTORYSTORAGE="C:\"/>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
<storageModule filesCache="C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\bld.inf;C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\CameraWrapperExample.mmp;" includesCache="C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/sys;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/variant;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/ecom;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport/stl;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/inc;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/common/reedsolomon;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/oned;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/decoder;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/detector;" macrosCache="_UNICODE;__SUPPORT_CPP_EXCEPTIONS__;__MARM_ARMV5__;__ARMCC__;__ARMCC_2_2__;__SYMBIAN32__;__MARM__;__EXE__;__S60_3X__;__SERIES60_3X__;__ARMCC_2__;__S60_5X__;__EPOC32__;__GENERIC_MARM__;__EABI__;__S60_50__;_DEBUG;" moduleId="configDataCache" sourcesCache="/ZXingBarcodeReader/data;/ZXingBarcodeReader/group;/ZXingBarcodeReader/group/zxing;/ZXingBarcodeReader/group/zxing/common;/ZXingBarcodeReader/group/zxing/common/reedsolomon;/ZXingBarcodeReader/group/zxing/oned;/ZXingBarcodeReader/group/zxing/qrcode;/ZXingBarcodeReader/group/zxing/qrcode/decoder;/ZXingBarcodeReader/group/zxing/qrcode/detector;/ZXingBarcodeReader/inc;/ZXingBarcodeReader/src;" timestampCache="1272924381514" useMmpMacrosCache="true"/>
|
<storageModule filesCache="C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\ZXingBarcodeReader.mmp;C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\bld.inf;" includesCache="C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/sys;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/variant;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/ecom;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport/stl;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/inc;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/common/reedsolomon;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/oned;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/decoder;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/detector;" macrosCache="_UNICODE;__SUPPORT_CPP_EXCEPTIONS__;__MARM_ARMV5__;__ARMCC__;__ARMCC_2_2__;__SYMBIAN32__;__MARM__;__EXE__;__S60_3X__;__SERIES60_3X__;__ARMCC_2__;__S60_5X__;__EPOC32__;__GENERIC_MARM__;__EABI__;__S60_50__;_DEBUG;" moduleId="configDataCache" sourcesCache="/ZXingBarcodeReader/data;/ZXingBarcodeReader/group;/ZXingBarcodeReader/group/zxing;/ZXingBarcodeReader/group/zxing/common;/ZXingBarcodeReader/group/zxing/common/reedsolomon;/ZXingBarcodeReader/group/zxing/oned;/ZXingBarcodeReader/group/zxing/qrcode;/ZXingBarcodeReader/group/zxing/qrcode/decoder;/ZXingBarcodeReader/group/zxing/qrcode/detector;/ZXingBarcodeReader/inc;/ZXingBarcodeReader/src;" timestampCache="1272964065481" useMmpMacrosCache="true"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||||
</cconfiguration>
|
</cconfiguration>
|
||||||
<cconfiguration id="Phone Release (ARMV5) [S60_5th_Edition_SDK_v1.0]">
|
<cconfiguration id="Phone Release (ARMV5) [S60_5th_Edition_SDK_v1.0]">
|
||||||
<storageModule buildSystemId="com.nokia.carbide.cdt.builder.CarbideConfigurationDataProvider" id="Phone Release (ARMV5) [S60_5th_Edition_SDK_v1.0]" moduleId="org.eclipse.cdt.core.settings" name="Phone Release (ARMV5) [S60_5th_Edition_SDK_v1.0]">
|
<storageModule buildSystemId="com.nokia.carbide.cdt.builder.CarbideConfigurationDataProvider" id="Phone Release (ARMV5) [S60_5th_Edition_SDK_v1.0]" moduleId="org.eclipse.cdt.core.settings" name="Phone Release (ARMV5) [S60_5th_Edition_SDK_v1.0]">
|
||||||
|
@ -80,9 +82,10 @@
|
||||||
<ARGUMENTS_DATA_ID ABLDFREEZEARGSSTORAGE="-r"/>
|
<ARGUMENTS_DATA_ID ABLDFREEZEARGSSTORAGE="-r"/>
|
||||||
<ROM_BUILDER_DATA_ID ROMBUILDWORKINGDIRECTORYSTORAGE="C:\"/>
|
<ROM_BUILDER_DATA_ID ROMBUILDWORKINGDIRECTORYSTORAGE="C:\"/>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
<storageModule filesCache="C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\bld.inf;C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\CameraWrapperExample.mmp;" includesCache="C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/sys;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/variant;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/ecom;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport/stl;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/inc;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/common/reedsolomon;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/oned;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/decoder;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/detector;" macrosCache="_UNICODE;__SUPPORT_CPP_EXCEPTIONS__;__MARM_ARMV5__;NDEBUG;__ARMCC__;__ARMCC_2_2__;__SYMBIAN32__;__MARM__;__EXE__;__S60_3X__;__SERIES60_3X__;__ARMCC_2__;__S60_5X__;__EPOC32__;__GENERIC_MARM__;__EABI__;__S60_50__;" moduleId="configDataCache" sourcesCache="/ZXingBarcodeReader/data;/ZXingBarcodeReader/group;/ZXingBarcodeReader/group/zxing;/ZXingBarcodeReader/group/zxing/common;/ZXingBarcodeReader/group/zxing/common/reedsolomon;/ZXingBarcodeReader/group/zxing/oned;/ZXingBarcodeReader/group/zxing/qrcode;/ZXingBarcodeReader/group/zxing/qrcode/decoder;/ZXingBarcodeReader/group/zxing/qrcode/detector;/ZXingBarcodeReader/inc;/ZXingBarcodeReader/src;" timestampCache="1272924381522" useMmpMacrosCache="true"/>
|
<storageModule filesCache="C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\ZXingBarcodeReader.mmp;C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\bld.inf;" includesCache="C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/sys;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/variant;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/ecom;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport/stl;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/inc;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/common/reedsolomon;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/oned;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/decoder;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/detector;" macrosCache="_UNICODE;__SUPPORT_CPP_EXCEPTIONS__;__MARM_ARMV5__;NDEBUG;__ARMCC__;__ARMCC_2_2__;__SYMBIAN32__;__MARM__;__EXE__;__S60_3X__;__SERIES60_3X__;__ARMCC_2__;__S60_5X__;__EPOC32__;__GENERIC_MARM__;__EABI__;__S60_50__;" moduleId="configDataCache" sourcesCache="/ZXingBarcodeReader/data;/ZXingBarcodeReader/group;/ZXingBarcodeReader/group/zxing;/ZXingBarcodeReader/group/zxing/common;/ZXingBarcodeReader/group/zxing/common/reedsolomon;/ZXingBarcodeReader/group/zxing/oned;/ZXingBarcodeReader/group/zxing/qrcode;/ZXingBarcodeReader/group/zxing/qrcode/decoder;/ZXingBarcodeReader/group/zxing/qrcode/detector;/ZXingBarcodeReader/inc;/ZXingBarcodeReader/src;" timestampCache="1272964065495" useMmpMacrosCache="true"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||||
</cconfiguration>
|
</cconfiguration>
|
||||||
<cconfiguration id="Phone Debug (GCCE) [S60_5th_Edition_SDK_v1.0]">
|
<cconfiguration id="Phone Debug (GCCE) [S60_5th_Edition_SDK_v1.0]">
|
||||||
<storageModule buildSystemId="com.nokia.carbide.cdt.builder.CarbideConfigurationDataProvider" id="Phone Debug (GCCE) [S60_5th_Edition_SDK_v1.0]" moduleId="org.eclipse.cdt.core.settings" name="Phone Debug (GCCE) [S60_5th_Edition_SDK_v1.0]">
|
<storageModule buildSystemId="com.nokia.carbide.cdt.builder.CarbideConfigurationDataProvider" id="Phone Debug (GCCE) [S60_5th_Edition_SDK_v1.0]" moduleId="org.eclipse.cdt.core.settings" name="Phone Debug (GCCE) [S60_5th_Edition_SDK_v1.0]">
|
||||||
|
@ -108,9 +111,10 @@
|
||||||
<ARGUMENTS_DATA_ID ABLDFREEZEARGSSTORAGE="-r"/>
|
<ARGUMENTS_DATA_ID ABLDFREEZEARGSSTORAGE="-r"/>
|
||||||
<ROM_BUILDER_DATA_ID ROMBUILDWORKINGDIRECTORYSTORAGE="C:\"/>
|
<ROM_BUILDER_DATA_ID ROMBUILDWORKINGDIRECTORYSTORAGE="C:\"/>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
<storageModule filesCache="C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\bld.inf;C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\CameraWrapperExample.mmp;" includesCache="C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/sys;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/variant;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/ecom;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport/stl;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/inc;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/common/reedsolomon;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/oned;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/decoder;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/detector;" macrosCache="_UNICODE;__SUPPORT_CPP_EXCEPTIONS__;__MARM_ARMV5__;__SYMBIAN32__;__GCCE__;__MARM__;__EXE__;__SERIES60_3X__;__S60_3X__;__S60_5X__;__EPOC32__;__GENERIC_MARM__;__EABI__;_DEBUG;__S60_50__;" moduleId="configDataCache" sourcesCache="/ZXingBarcodeReader/data;/ZXingBarcodeReader/group;/ZXingBarcodeReader/group/zxing;/ZXingBarcodeReader/group/zxing/common;/ZXingBarcodeReader/group/zxing/common/reedsolomon;/ZXingBarcodeReader/group/zxing/oned;/ZXingBarcodeReader/group/zxing/qrcode;/ZXingBarcodeReader/group/zxing/qrcode/decoder;/ZXingBarcodeReader/group/zxing/qrcode/detector;/ZXingBarcodeReader/inc;/ZXingBarcodeReader/src;" timestampCache="1272924381542" useMmpMacrosCache="true"/>
|
<storageModule filesCache="C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\ZXingBarcodeReader.mmp;C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\bld.inf;" includesCache="C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/sys;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/variant;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/ecom;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport/stl;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/inc;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/common/reedsolomon;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/oned;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/decoder;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/detector;" macrosCache="_UNICODE;__SUPPORT_CPP_EXCEPTIONS__;__MARM_ARMV5__;__SYMBIAN32__;__GCCE__;__MARM__;__EXE__;__SERIES60_3X__;__S60_3X__;__S60_5X__;__EPOC32__;__GENERIC_MARM__;__EABI__;_DEBUG;__S60_50__;" moduleId="configDataCache" sourcesCache="/ZXingBarcodeReader/data;/ZXingBarcodeReader/group;/ZXingBarcodeReader/group/zxing;/ZXingBarcodeReader/group/zxing/common;/ZXingBarcodeReader/group/zxing/common/reedsolomon;/ZXingBarcodeReader/group/zxing/oned;/ZXingBarcodeReader/group/zxing/qrcode;/ZXingBarcodeReader/group/zxing/qrcode/decoder;/ZXingBarcodeReader/group/zxing/qrcode/detector;/ZXingBarcodeReader/inc;/ZXingBarcodeReader/src;" timestampCache="1272964065514" useMmpMacrosCache="true"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||||
</cconfiguration>
|
</cconfiguration>
|
||||||
<cconfiguration id="Phone Release (GCCE) [S60_5th_Edition_SDK_v1.0]">
|
<cconfiguration id="Phone Release (GCCE) [S60_5th_Edition_SDK_v1.0]">
|
||||||
<storageModule buildSystemId="com.nokia.carbide.cdt.builder.CarbideConfigurationDataProvider" id="Phone Release (GCCE) [S60_5th_Edition_SDK_v1.0]" moduleId="org.eclipse.cdt.core.settings" name="Phone Release (GCCE) [S60_5th_Edition_SDK_v1.0]">
|
<storageModule buildSystemId="com.nokia.carbide.cdt.builder.CarbideConfigurationDataProvider" id="Phone Release (GCCE) [S60_5th_Edition_SDK_v1.0]" moduleId="org.eclipse.cdt.core.settings" name="Phone Release (GCCE) [S60_5th_Edition_SDK_v1.0]">
|
||||||
|
@ -135,9 +139,10 @@
|
||||||
<ARGUMENTS_DATA_ID ABLDFREEZEARGSSTORAGE="-r"/>
|
<ARGUMENTS_DATA_ID ABLDFREEZEARGSSTORAGE="-r"/>
|
||||||
<ROM_BUILDER_DATA_ID ROMBUILDWORKINGDIRECTORYSTORAGE="C:\"/>
|
<ROM_BUILDER_DATA_ID ROMBUILDWORKINGDIRECTORYSTORAGE="C:\"/>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
<storageModule filesCache="C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\bld.inf;C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\CameraWrapperExample.mmp;" includesCache="C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/sys;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/variant;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/ecom;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport/stl;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/inc;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/common/reedsolomon;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/oned;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/decoder;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/detector;" macrosCache="_UNICODE;__SUPPORT_CPP_EXCEPTIONS__;__MARM_ARMV5__;NDEBUG;__SYMBIAN32__;__GCCE__;__MARM__;__EXE__;__SERIES60_3X__;__S60_3X__;__S60_5X__;__EPOC32__;__GENERIC_MARM__;__EABI__;__S60_50__;" moduleId="configDataCache" sourcesCache="/ZXingBarcodeReader/data;/ZXingBarcodeReader/group;/ZXingBarcodeReader/group/zxing;/ZXingBarcodeReader/group/zxing/common;/ZXingBarcodeReader/group/zxing/common/reedsolomon;/ZXingBarcodeReader/group/zxing/oned;/ZXingBarcodeReader/group/zxing/qrcode;/ZXingBarcodeReader/group/zxing/qrcode/decoder;/ZXingBarcodeReader/group/zxing/qrcode/detector;/ZXingBarcodeReader/inc;/ZXingBarcodeReader/src;" timestampCache="1272924381550" useMmpMacrosCache="true"/>
|
<storageModule filesCache="C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\ZXingBarcodeReader.mmp;C:\Carbide\ZXingWorkspace\ZXingBarcodeReader\group\bld.inf;" includesCache="C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/sys;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/variant;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/ecom;C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/include/stdapis/stlport/stl;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/inc;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/common/reedsolomon;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/oned;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/decoder;C:/Carbide/ZXingWorkspace/ZXingBarcodeReader/group/zxing/qrcode/detector;" macrosCache="_UNICODE;__SUPPORT_CPP_EXCEPTIONS__;__MARM_ARMV5__;NDEBUG;__SYMBIAN32__;__GCCE__;__MARM__;__EXE__;__SERIES60_3X__;__S60_3X__;__S60_5X__;__EPOC32__;__GENERIC_MARM__;__EABI__;__S60_50__;" moduleId="configDataCache" sourcesCache="/ZXingBarcodeReader/data;/ZXingBarcodeReader/group;/ZXingBarcodeReader/group/zxing;/ZXingBarcodeReader/group/zxing/common;/ZXingBarcodeReader/group/zxing/common/reedsolomon;/ZXingBarcodeReader/group/zxing/oned;/ZXingBarcodeReader/group/zxing/qrcode;/ZXingBarcodeReader/group/zxing/qrcode/decoder;/ZXingBarcodeReader/group/zxing/qrcode/detector;/ZXingBarcodeReader/inc;/ZXingBarcodeReader/src;" timestampCache="1272964065527" useMmpMacrosCache="true"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
|
||||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||||
|
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||||
</cconfiguration>
|
</cconfiguration>
|
||||||
</storageModule>
|
</storageModule>
|
||||||
</cproject>
|
</cproject>
|
||||||
|
|
3
symbian/ZXingBarcodeReader/changes.txt
Normal file
3
symbian/ZXingBarcodeReader/changes.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
DecodeButStreamParser.cpp : line 68 : iconv(cd, (const char**)&fromPtr, &nFrom, &toPtr, &nTo);
|
||||||
|
EAN13Reader.cpp : line 81 : resultString.insert((size_t)0, (size_t)1, (char) ('0' + d));
|
||||||
|
UPCEReader.cpp : line 93 : resultString.insert((size_t)0, (size_t)1, (char) ('0' + numSys));
|
|
@ -12,7 +12,7 @@ NAME CAME // 4 letter ID
|
||||||
#include <avkon.rsg>
|
#include <avkon.rsg>
|
||||||
#include <avkon.rh>
|
#include <avkon.rh>
|
||||||
#include <appinfo.rh>
|
#include <appinfo.rh>
|
||||||
#include "CameraWrapperExample.hrh"
|
#include "ZXingBarcodeReader.hrh"
|
||||||
#include "ZXingBarcodeReader.rls"
|
#include "ZXingBarcodeReader.rls"
|
||||||
|
|
||||||
// RESOURCE DEFINITIONS
|
// RESOURCE DEFINITIONS
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* Copyright (c) 2009 Nokia Corporation.
|
* Copyright (c) 2009 Nokia Corporation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "CameraWrapperExample.hrh"
|
#include "ZXingBarcodeReader.hrh"
|
||||||
#include "ZXingBarcodeReader.rls"
|
#include "ZXingBarcodeReader.rls"
|
||||||
#include <appinfo.rh>
|
#include <appinfo.rh>
|
||||||
#include <ZXingBarcodeReader_0xEF24C10A.rsg>
|
#include <ZXingBarcodeReader_0xEF24C10A.rsg>
|
||||||
|
|
|
@ -38,12 +38,10 @@ SYSTEMINCLUDE zxing/qrcode/decoder
|
||||||
SYSTEMINCLUDE zxing/qrcode/detector
|
SYSTEMINCLUDE zxing/qrcode/detector
|
||||||
|
|
||||||
SOURCEPATH ../src
|
SOURCEPATH ../src
|
||||||
SOURCE CameraWrapperExample.cpp
|
SOURCE ZXingBarcodeReader.cpp
|
||||||
SOURCE CameraWrapperExampleApplication.cpp
|
SOURCE ZXingBarcodeReaderApplication.cpp ZXingBarcodeReaderAppView.cpp
|
||||||
SOURCE CameraWrapperExampleAppView.cpp
|
SOURCE ZXingBarcodeReaderAppUi.cpp ZXingBarcodeReaderDocument.cpp CameraImage.cpp
|
||||||
SOURCE CameraWrapperExampleAppUi.cpp
|
SOURCE DecodingOperations.cpp
|
||||||
SOURCE CameraWrapperExampleDocument.cpp
|
|
||||||
SOURCE CameraImage.cpp
|
|
||||||
|
|
||||||
LIBRARY euser.lib
|
LIBRARY euser.lib
|
||||||
LIBRARY apparc.lib
|
LIBRARY apparc.lib
|
||||||
|
@ -87,5 +85,4 @@ OPTION CW -wchar_t on
|
||||||
OPTION ARMCC --visibility_inlines_hidden
|
OPTION ARMCC --visibility_inlines_hidden
|
||||||
OPTION GCCE -fvisibility-inlines-hidden
|
OPTION GCCE -fvisibility-inlines-hidden
|
||||||
|
|
||||||
SOURCEPATH ../src
|
|
||||||
SOURCE DecodingOperations.cpp
|
|
|
@ -7,5 +7,5 @@ WINSCW GCCE ARMV5
|
||||||
|
|
||||||
PRJ_MMPFILES
|
PRJ_MMPFILES
|
||||||
gnumakefile icons_scalable_dc.mk
|
gnumakefile icons_scalable_dc.mk
|
||||||
CameraWrapperExample.mmp
|
ZXingBarcodeReader.mmp
|
||||||
|
|
||||||
|
|
|
@ -36,17 +36,17 @@ const TUint KCameraShutterKeyEventCodes[6] = {
|
||||||
|
|
||||||
|
|
||||||
// FORWARD DECLARATIONS
|
// FORWARD DECLARATIONS
|
||||||
class CCameraWrapperExampleAppView;
|
class CZXingBarcodeReaderAppView;
|
||||||
|
|
||||||
// CLASS DECLARATION
|
// CLASS DECLARATION
|
||||||
class CCameraWrapperExampleAppUi : public CAknAppUi,
|
class CZXingBarcodeReaderAppUi : public CAknAppUi,
|
||||||
public MCoeForegroundObserver
|
public MCoeForegroundObserver
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Constructors and destructor
|
// Constructors and destructor
|
||||||
void ConstructL ();
|
void ConstructL ();
|
||||||
CCameraWrapperExampleAppUi ();
|
CZXingBarcodeReaderAppUi ();
|
||||||
virtual ~CCameraWrapperExampleAppUi ();
|
virtual ~CZXingBarcodeReaderAppUi ();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
|
TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
|
||||||
|
@ -68,7 +68,7 @@ class CCameraWrapperExampleAppUi : public CAknAppUi,
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Data
|
// Data
|
||||||
CCameraWrapperExampleAppView* iAppView;
|
CZXingBarcodeReaderAppView* iAppView;
|
||||||
RArray<TInt32> iShutterKeyHandles;
|
RArray<TInt32> iShutterKeyHandles;
|
||||||
TBool iCameraKeyCaptured;
|
TBool iCameraKeyCaptured;
|
||||||
|
|
|
@ -15,17 +15,17 @@
|
||||||
#include <e32base.h>
|
#include <e32base.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
class CCameraWrapperExampleAppUi;
|
class CZXingBarcodeReaderAppUi;
|
||||||
|
|
||||||
// CLASS DECLARATION
|
// CLASS DECLARATION
|
||||||
class CCameraWrapperExampleAppView :
|
class CZXingBarcodeReaderAppView :
|
||||||
public CCoeControl, public MCameraEngineObserver
|
public CCoeControl, public MCameraEngineObserver
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Constructors
|
// Constructors
|
||||||
static CCameraWrapperExampleAppView* NewL (const TRect& aRect );
|
static CZXingBarcodeReaderAppView* NewL (const TRect& aRect );
|
||||||
static CCameraWrapperExampleAppView* NewLC (const TRect& aRect );
|
static CZXingBarcodeReaderAppView* NewLC (const TRect& aRect );
|
||||||
virtual ~CCameraWrapperExampleAppView ();
|
virtual ~CZXingBarcodeReaderAppView ();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Functions from base classes
|
// Functions from base classes
|
||||||
|
@ -57,7 +57,7 @@ public CCoeControl, public MCameraEngineObserver
|
||||||
private:
|
private:
|
||||||
// Constructors
|
// Constructors
|
||||||
void ConstructL (const TRect& aRect );
|
void ConstructL (const TRect& aRect );
|
||||||
CCameraWrapperExampleAppView ();
|
CZXingBarcodeReaderAppView ();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void decodeBackbufferImage();
|
void decodeBackbufferImage();
|
||||||
|
@ -74,7 +74,7 @@ public CCoeControl, public MCameraEngineObserver
|
||||||
private:
|
private:
|
||||||
// Data
|
// Data
|
||||||
|
|
||||||
CCameraWrapperExampleAppUi* iAppUi;
|
CZXingBarcodeReaderAppUi* iAppUi;
|
||||||
|
|
||||||
// CameraWrapper class
|
// CameraWrapper class
|
||||||
CCameraEngine* iCameraWrapper;
|
CCameraEngine* iCameraWrapper;
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
// INCLUDES
|
// INCLUDES
|
||||||
#include <aknapp.h>
|
#include <aknapp.h>
|
||||||
#include "CameraWrapperExample.hrh"
|
#include "ZXingBarcodeReader.hrh"
|
||||||
|
|
||||||
// UID for the application;
|
// UID for the application;
|
||||||
// this should correspond to the uid defined in the mmp file
|
// this should correspond to the uid defined in the mmp file
|
||||||
|
@ -18,7 +18,7 @@ const TUid KUidCameraWrapperExampleApp =
|
||||||
|
|
||||||
// CLASS DECLARATION
|
// CLASS DECLARATION
|
||||||
|
|
||||||
class CCameraWrapperExampleApplication : public CAknApplication
|
class CZXingBarcodeReaderApplication : public CAknApplication
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Functions from base classes
|
// Functions from base classes
|
|
@ -9,17 +9,17 @@
|
||||||
#include <akndoc.h>
|
#include <akndoc.h>
|
||||||
|
|
||||||
// FORWARD DECLARATIONS
|
// FORWARD DECLARATIONS
|
||||||
class CCameraWrapperExampleAppUi;
|
class CZXingBarcodeReaderAppUi;
|
||||||
class CEikApplication;
|
class CEikApplication;
|
||||||
|
|
||||||
// CLASS DECLARATION
|
// CLASS DECLARATION
|
||||||
class CCameraWrapperExampleDocument : public CAknDocument
|
class CZXingBarcodeReaderDocument : public CAknDocument
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Constructors and destructor
|
// Constructors and destructor
|
||||||
static CCameraWrapperExampleDocument* NewL (CEikApplication& aApp );
|
static CZXingBarcodeReaderDocument* NewL (CEikApplication& aApp );
|
||||||
static CCameraWrapperExampleDocument* NewLC (CEikApplication& aApp );
|
static CZXingBarcodeReaderDocument* NewLC (CEikApplication& aApp );
|
||||||
virtual ~CCameraWrapperExampleDocument ();
|
virtual ~CZXingBarcodeReaderDocument ();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Functions from base classes
|
// Functions from base classes
|
||||||
|
@ -28,7 +28,7 @@ class CCameraWrapperExampleDocument : public CAknDocument
|
||||||
private:
|
private:
|
||||||
// Constructors
|
// Constructors
|
||||||
void ConstructL ();
|
void ConstructL ();
|
||||||
CCameraWrapperExampleDocument (CEikApplication& aApp );
|
CZXingBarcodeReaderDocument (CEikApplication& aApp );
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Data
|
// Data
|
Binary file not shown.
|
@ -1,49 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2009 Nokia Corporation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// INCLUDE FILES
|
|
||||||
#include "CameraWrapperExampleAppUi.h"
|
|
||||||
#include "CameraWrapperExampleDocument.h"
|
|
||||||
|
|
||||||
// ============================ MEMBER FUNCTIONS ===============================
|
|
||||||
|
|
||||||
CCameraWrapperExampleDocument* CCameraWrapperExampleDocument::NewL (
|
|
||||||
CEikApplication& aApp )
|
|
||||||
{
|
|
||||||
CCameraWrapperExampleDocument* self = NewLC (aApp );
|
|
||||||
CleanupStack::Pop (self );
|
|
||||||
return self;
|
|
||||||
}
|
|
||||||
|
|
||||||
CCameraWrapperExampleDocument* CCameraWrapperExampleDocument::NewLC (
|
|
||||||
CEikApplication& aApp )
|
|
||||||
{
|
|
||||||
CCameraWrapperExampleDocument* self =
|
|
||||||
new (ELeave) CCameraWrapperExampleDocument (aApp );
|
|
||||||
|
|
||||||
CleanupStack::PushL (self );
|
|
||||||
self->ConstructL ();
|
|
||||||
return self;
|
|
||||||
}
|
|
||||||
|
|
||||||
void CCameraWrapperExampleDocument::ConstructL ()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
CCameraWrapperExampleDocument::CCameraWrapperExampleDocument (
|
|
||||||
CEikApplication& aApp ) :
|
|
||||||
CAknDocument (aApp )
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
CCameraWrapperExampleDocument::~CCameraWrapperExampleDocument ()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
CEikAppUi* CCameraWrapperExampleDocument::CreateAppUiL ()
|
|
||||||
{
|
|
||||||
return new (ELeave) CCameraWrapperExampleAppUi;
|
|
||||||
}
|
|
||||||
|
|
||||||
// End of File
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "CameraWrapperExampleAppView.h"
|
#include "ZXingBarcodeReaderAppView.h"
|
||||||
#include <e32std.h>
|
#include <e32std.h>
|
||||||
|
|
||||||
#include <zxing/qrcode/QRCodeReader.h>
|
#include <zxing/qrcode/QRCodeReader.h>
|
||||||
|
@ -12,26 +12,26 @@
|
||||||
using namespace zxing;
|
using namespace zxing;
|
||||||
using namespace zxing::qrcode;
|
using namespace zxing::qrcode;
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::StartTimer()
|
void CZXingBarcodeReaderAppView::StartTimer()
|
||||||
{
|
{
|
||||||
const TInt tickInterval=2000000;
|
const TInt tickInterval=2000000;
|
||||||
iPeriodic=CPeriodic::NewL(0); // neutral priority
|
iPeriodic=CPeriodic::NewL(0); // neutral priority
|
||||||
|
|
||||||
//CleanupStack::PushL(iPeriodic);
|
//CleanupStack::PushL(iPeriodic);
|
||||||
|
|
||||||
iPeriodic->Start(tickInterval,tickInterval,TCallBack(&CCameraWrapperExampleAppView::Tick, this));
|
iPeriodic->Start(tickInterval,tickInterval,TCallBack(&CZXingBarcodeReaderAppView::Tick, this));
|
||||||
|
|
||||||
// CleanupStack::PopAndDestroy(iPeriodic);
|
// CleanupStack::PopAndDestroy(iPeriodic);
|
||||||
}
|
}
|
||||||
|
|
||||||
TInt CCameraWrapperExampleAppView::Tick(TAny* aObject)
|
TInt CZXingBarcodeReaderAppView::Tick(TAny* aObject)
|
||||||
{
|
{
|
||||||
// cast, and call non-static function
|
// cast, and call non-static function
|
||||||
((CCameraWrapperExampleAppView*)aObject)->decodeBackbufferImage();
|
((CZXingBarcodeReaderAppView*)aObject)->decodeBackbufferImage();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::decodeBackbufferImage()
|
void CZXingBarcodeReaderAppView::decodeBackbufferImage()
|
||||||
{
|
{
|
||||||
QRCodeReader decoder;
|
QRCodeReader decoder;
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@ void CCameraWrapperExampleAppView::decodeBackbufferImage()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::ShowResultL(TDesC16& message)
|
void CZXingBarcodeReaderAppView::ShowResultL(TDesC16& message)
|
||||||
{
|
{
|
||||||
if (!iNote)
|
if (!iNote)
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
|
|
||||||
// INCLUDE FILES
|
// INCLUDE FILES
|
||||||
#include <eikstart.h>
|
#include <eikstart.h>
|
||||||
#include "CameraWrapperExampleApplication.h"
|
#include "ZXingBarcodeReaderApplication.h"
|
||||||
|
|
||||||
LOCAL_C CApaApplication* NewApplication ()
|
LOCAL_C CApaApplication* NewApplication ()
|
||||||
{
|
{
|
||||||
return new CCameraWrapperExampleApplication;
|
return new CZXingBarcodeReaderApplication;
|
||||||
}
|
}
|
||||||
|
|
||||||
GLDEF_C TInt E32Main ()
|
GLDEF_C TInt E32Main ()
|
|
@ -10,16 +10,16 @@
|
||||||
#include <eikenv.h>
|
#include <eikenv.h>
|
||||||
|
|
||||||
#include <ZXingBarcodeReader_0xEF24C10A.rsg>
|
#include <ZXingBarcodeReader_0xEF24C10A.rsg>
|
||||||
#include "CameraWrapperExample.hrh"
|
#include "ZXingBarcodeReader.hrh"
|
||||||
#include "CameraWrapperExample.pan"
|
#include "ZXingBarcodeReader.pan"
|
||||||
#include "CameraWrapperExampleApplication.h"
|
#include "ZXingBarcodeReaderApplication.h"
|
||||||
#include "CameraWrapperExampleAppUi.h"
|
#include "ZXingBarcodeReaderAppUi.h"
|
||||||
#include "CameraWrapperExampleAppView.h"
|
#include "ZXingBarcodeReaderAppView.h"
|
||||||
|
|
||||||
|
|
||||||
// ============================ MEMBER FUNCTIONS ===============================
|
// ============================ MEMBER FUNCTIONS ===============================
|
||||||
|
|
||||||
void CCameraWrapperExampleAppUi::ConstructL ()
|
void CZXingBarcodeReaderAppUi::ConstructL ()
|
||||||
{
|
{
|
||||||
// Initialise app UI with standard value.
|
// Initialise app UI with standard value.
|
||||||
BaseConstructL (CAknAppUi::EAknEnableSkin );
|
BaseConstructL (CAknAppUi::EAknEnableSkin );
|
||||||
|
@ -33,14 +33,14 @@ void CCameraWrapperExampleAppUi::ConstructL ()
|
||||||
iEikonEnv->AddForegroundObserverL(*this);
|
iEikonEnv->AddForegroundObserverL(*this);
|
||||||
|
|
||||||
// Create view
|
// Create view
|
||||||
iAppView = CCameraWrapperExampleAppView::NewL (ClientRect () );
|
iAppView = CZXingBarcodeReaderAppView::NewL (ClientRect () );
|
||||||
}
|
}
|
||||||
|
|
||||||
CCameraWrapperExampleAppUi::CCameraWrapperExampleAppUi ()
|
CZXingBarcodeReaderAppUi::CZXingBarcodeReaderAppUi ()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
CCameraWrapperExampleAppUi::~CCameraWrapperExampleAppUi ()
|
CZXingBarcodeReaderAppUi::~CZXingBarcodeReaderAppUi ()
|
||||||
{
|
{
|
||||||
delete iAppView;
|
delete iAppView;
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ CCameraWrapperExampleAppUi::~CCameraWrapperExampleAppUi ()
|
||||||
|
|
||||||
#ifdef ENABLE_CAMERA_SHUTTER
|
#ifdef ENABLE_CAMERA_SHUTTER
|
||||||
|
|
||||||
void CCameraWrapperExampleAppUi::CaptureCameraShutter(TBool aEnable)
|
void CZXingBarcodeReaderAppUi::CaptureCameraShutter(TBool aEnable)
|
||||||
{
|
{
|
||||||
// Try to capture events from the camera shutter key(s)
|
// Try to capture events from the camera shutter key(s)
|
||||||
// http://wiki.forum.nokia.com/index.php/KIS000563_-_Camera_shutter_key_(EKeyCamera_events)_cannot_be_used_in_3rd_party_applications
|
// http://wiki.forum.nokia.com/index.php/KIS000563_-_Camera_shutter_key_(EKeyCamera_events)_cannot_be_used_in_3rd_party_applications
|
||||||
|
@ -89,7 +89,7 @@ void CCameraWrapperExampleAppUi::CaptureCameraShutter(TBool aEnable)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void CCameraWrapperExampleAppUi::HandleGainingForeground()
|
void CZXingBarcodeReaderAppUi::HandleGainingForeground()
|
||||||
{
|
{
|
||||||
// Application gets focused so reserve the camera
|
// Application gets focused so reserve the camera
|
||||||
// http://wiki.forum.nokia.com/index.php/CS000821_-_Handling_Camera_resource
|
// http://wiki.forum.nokia.com/index.php/CS000821_-_Handling_Camera_resource
|
||||||
|
@ -105,7 +105,7 @@ void CCameraWrapperExampleAppUi::HandleGainingForeground()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppUi::HandleLosingForeground()
|
void CZXingBarcodeReaderAppUi::HandleLosingForeground()
|
||||||
{
|
{
|
||||||
// Application loses focus so release the camera
|
// Application loses focus so release the camera
|
||||||
// http://wiki.forum.nokia.com/index.php/CS000821_-_Handling_Camera_resource
|
// http://wiki.forum.nokia.com/index.php/CS000821_-_Handling_Camera_resource
|
||||||
|
@ -121,7 +121,7 @@ void CCameraWrapperExampleAppUi::HandleLosingForeground()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppUi::UseOptionsExitCbaL()
|
void CZXingBarcodeReaderAppUi::UseOptionsExitCbaL()
|
||||||
{
|
{
|
||||||
CEikButtonGroupContainer* cba = Cba();
|
CEikButtonGroupContainer* cba = Cba();
|
||||||
if (cba)
|
if (cba)
|
||||||
|
@ -131,7 +131,7 @@ void CCameraWrapperExampleAppUi::UseOptionsExitCbaL()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppUi::UseOptionsBackCbaL()
|
void CZXingBarcodeReaderAppUi::UseOptionsBackCbaL()
|
||||||
{
|
{
|
||||||
CEikButtonGroupContainer* cba = Cba();
|
CEikButtonGroupContainer* cba = Cba();
|
||||||
if (cba)
|
if (cba)
|
||||||
|
@ -141,7 +141,7 @@ void CCameraWrapperExampleAppUi::UseOptionsBackCbaL()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TBool CCameraWrapperExampleAppUi::IsBackCBA()
|
TBool CZXingBarcodeReaderAppUi::IsBackCBA()
|
||||||
{
|
{
|
||||||
CEikButtonGroupContainer* cba = Cba();
|
CEikButtonGroupContainer* cba = Cba();
|
||||||
// NOTE: There should be EAknSoftkeyBack in the application because
|
// NOTE: There should be EAknSoftkeyBack in the application because
|
||||||
|
@ -154,7 +154,7 @@ TBool CCameraWrapperExampleAppUi::IsBackCBA()
|
||||||
return EFalse;
|
return EFalse;
|
||||||
}
|
}
|
||||||
|
|
||||||
TKeyResponse CCameraWrapperExampleAppUi::HandleKeyEventL(
|
TKeyResponse CZXingBarcodeReaderAppUi::HandleKeyEventL(
|
||||||
const TKeyEvent& aKeyEvent,TEventCode aType)
|
const TKeyEvent& aKeyEvent,TEventCode aType)
|
||||||
{
|
{
|
||||||
// Capture picture with selection key
|
// Capture picture with selection key
|
||||||
|
@ -205,7 +205,7 @@ TKeyResponse CCameraWrapperExampleAppUi::HandleKeyEventL(
|
||||||
return EKeyWasNotConsumed;
|
return EKeyWasNotConsumed;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppUi::HandleCommandL (TInt aCommand )
|
void CZXingBarcodeReaderAppUi::HandleCommandL (TInt aCommand )
|
||||||
{
|
{
|
||||||
switch (aCommand )
|
switch (aCommand )
|
||||||
{
|
{
|
||||||
|
@ -241,7 +241,7 @@ void CCameraWrapperExampleAppUi::HandleCommandL (TInt aCommand )
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppUi::HandleResourceChangeL(TInt aType)
|
void CZXingBarcodeReaderAppUi::HandleResourceChangeL(TInt aType)
|
||||||
{
|
{
|
||||||
CAknAppUi::HandleResourceChangeL( aType );
|
CAknAppUi::HandleResourceChangeL( aType );
|
||||||
|
|
|
@ -9,36 +9,36 @@
|
||||||
#include <pathinfo.h>
|
#include <pathinfo.h>
|
||||||
#include <f32file.h>
|
#include <f32file.h>
|
||||||
#include <BAUTILS.H>
|
#include <BAUTILS.H>
|
||||||
#include "CameraWrapperExampleAppView.h"
|
#include "ZXingBarcodeReaderAppView.h"
|
||||||
#include "CameraWrapperExampleAppUi.h"
|
#include "ZXingBarcodeReaderAppUi.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ============================ MEMBER FUNCTIONS ===============================
|
// ============================ MEMBER FUNCTIONS ===============================
|
||||||
|
|
||||||
CCameraWrapperExampleAppView* CCameraWrapperExampleAppView::NewL (const TRect& aRect )
|
CZXingBarcodeReaderAppView* CZXingBarcodeReaderAppView::NewL (const TRect& aRect )
|
||||||
{
|
{
|
||||||
CCameraWrapperExampleAppView* self = CCameraWrapperExampleAppView::NewLC (aRect );
|
CZXingBarcodeReaderAppView* self = CZXingBarcodeReaderAppView::NewLC (aRect );
|
||||||
CleanupStack::Pop (self );
|
CleanupStack::Pop (self );
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
CCameraWrapperExampleAppView* CCameraWrapperExampleAppView::NewLC (const TRect& aRect )
|
CZXingBarcodeReaderAppView* CZXingBarcodeReaderAppView::NewLC (const TRect& aRect )
|
||||||
{
|
{
|
||||||
CCameraWrapperExampleAppView* self = new (ELeave) CCameraWrapperExampleAppView;
|
CZXingBarcodeReaderAppView* self = new (ELeave) CZXingBarcodeReaderAppView;
|
||||||
CleanupStack::PushL (self );
|
CleanupStack::PushL (self );
|
||||||
self->ConstructL (aRect );
|
self->ConstructL (aRect );
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::ConstructL (const TRect& aRect )
|
void CZXingBarcodeReaderAppView::ConstructL (const TRect& aRect )
|
||||||
{
|
{
|
||||||
// Create a window for this application view
|
// Create a window for this application view
|
||||||
CreateWindowL ();
|
CreateWindowL ();
|
||||||
|
|
||||||
iTitleFont = AknLayoutUtils::FontFromId(EAknLogicalFontPrimarySmallFont);
|
iTitleFont = AknLayoutUtils::FontFromId(EAknLogicalFontPrimarySmallFont);
|
||||||
|
|
||||||
iAppUi = static_cast<CCameraWrapperExampleAppUi*>(iEikonEnv->EikAppUi());
|
iAppUi = static_cast<CZXingBarcodeReaderAppUi*>(iEikonEnv->EikAppUi());
|
||||||
|
|
||||||
// Set the windows size
|
// Set the windows size
|
||||||
SetRect (aRect );
|
SetRect (aRect );
|
||||||
|
@ -50,11 +50,11 @@ void CCameraWrapperExampleAppView::ConstructL (const TRect& aRect )
|
||||||
ActivateL ();
|
ActivateL ();
|
||||||
}
|
}
|
||||||
|
|
||||||
CCameraWrapperExampleAppView::CCameraWrapperExampleAppView () : iPeriodic(NULL)
|
CZXingBarcodeReaderAppView::CZXingBarcodeReaderAppView () : iPeriodic(NULL)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
CCameraWrapperExampleAppView::~CCameraWrapperExampleAppView ()
|
CZXingBarcodeReaderAppView::~CZXingBarcodeReaderAppView ()
|
||||||
{
|
{
|
||||||
if (iCameraWrapper)
|
if (iCameraWrapper)
|
||||||
{
|
{
|
||||||
|
@ -66,7 +66,7 @@ CCameraWrapperExampleAppView::~CCameraWrapperExampleAppView ()
|
||||||
ReleaseBackBuffer();
|
ReleaseBackBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
TKeyResponse CCameraWrapperExampleAppView::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType)
|
TKeyResponse CZXingBarcodeReaderAppView::OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType)
|
||||||
{
|
{
|
||||||
switch ( aKeyEvent.iCode )
|
switch ( aKeyEvent.iCode )
|
||||||
{
|
{
|
||||||
|
@ -143,7 +143,7 @@ TKeyResponse CCameraWrapperExampleAppView::OfferKeyEventL(const TKeyEvent& aKeyE
|
||||||
return EKeyWasNotConsumed;
|
return EKeyWasNotConsumed;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::CancelCapturedPicture(TBool aCleanTexts)
|
void CZXingBarcodeReaderAppView::CancelCapturedPicture(TBool aCleanTexts)
|
||||||
{
|
{
|
||||||
if (iCameraWrapper && iCameraWrapper->State() == CCameraEngine::EEngineIdle)
|
if (iCameraWrapper && iCameraWrapper->State() == CCameraEngine::EEngineIdle)
|
||||||
{
|
{
|
||||||
|
@ -162,7 +162,7 @@ void CCameraWrapperExampleAppView::CancelCapturedPicture(TBool aCleanTexts)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::Draw(const TRect& /*aRect*/) const
|
void CZXingBarcodeReaderAppView::Draw(const TRect& /*aRect*/) const
|
||||||
{
|
{
|
||||||
CWindowGc& gc = SystemGc ();
|
CWindowGc& gc = SystemGc ();
|
||||||
|
|
||||||
|
@ -180,7 +180,7 @@ void CCameraWrapperExampleAppView::Draw(const TRect& /*aRect*/) const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::DrawTexts(CWindowGc& gc) const
|
void CZXingBarcodeReaderAppView::DrawTexts(CWindowGc& gc) const
|
||||||
{
|
{
|
||||||
if (iTitle.Length()>0)
|
if (iTitle.Length()>0)
|
||||||
{
|
{
|
||||||
|
@ -192,7 +192,7 @@ void CCameraWrapperExampleAppView::DrawTexts(CWindowGc& gc) const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::SizeChanged()
|
void CZXingBarcodeReaderAppView::SizeChanged()
|
||||||
{
|
{
|
||||||
// Create camera wrapper class here because
|
// Create camera wrapper class here because
|
||||||
// whole camera wrapper and all handles have to reset
|
// whole camera wrapper and all handles have to reset
|
||||||
|
@ -244,7 +244,7 @@ void CCameraWrapperExampleAppView::SizeChanged()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::HandlePointerEventL (
|
void CZXingBarcodeReaderAppView::HandlePointerEventL (
|
||||||
const TPointerEvent& aPointerEvent )
|
const TPointerEvent& aPointerEvent )
|
||||||
{
|
{
|
||||||
if (aPointerEvent.iType == TPointerEvent::EButton1Down)
|
if (aPointerEvent.iType == TPointerEvent::EButton1Down)
|
||||||
|
@ -267,25 +267,25 @@ void CCameraWrapperExampleAppView::HandlePointerEventL (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::SetTitle(const TDesC& aTitle)
|
void CZXingBarcodeReaderAppView::SetTitle(const TDesC& aTitle)
|
||||||
{
|
{
|
||||||
iTitle.Copy(aTitle);
|
iTitle.Copy(aTitle);
|
||||||
DrawNow();
|
DrawNow();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::SetError( const TDesC& aMsg, TInt aVal )
|
void CZXingBarcodeReaderAppView::SetError( const TDesC& aMsg, TInt aVal )
|
||||||
{
|
{
|
||||||
iTitle.Format(aMsg, aVal);
|
iTitle.Format(aMsg, aVal);
|
||||||
DrawNow();
|
DrawNow();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::SetError( const TDesC& aMsg, TInt aVal1, TInt aVal2 )
|
void CZXingBarcodeReaderAppView::SetError( const TDesC& aMsg, TInt aVal1, TInt aVal2 )
|
||||||
{
|
{
|
||||||
iTitle.Format(aMsg, aVal1, aVal2);
|
iTitle.Format(aMsg, aVal1, aVal2);
|
||||||
DrawNow();
|
DrawNow();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::CreateBackBufferL()
|
void CZXingBarcodeReaderAppView::CreateBackBufferL()
|
||||||
{
|
{
|
||||||
// create back buffer bitmap
|
// create back buffer bitmap
|
||||||
iBackBuffer = new (ELeave) CFbsBitmap;
|
iBackBuffer = new (ELeave) CFbsBitmap;
|
||||||
|
@ -301,7 +301,7 @@ void CCameraWrapperExampleAppView::CreateBackBufferL()
|
||||||
iBackBufferContext->Clear();
|
iBackBufferContext->Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::ReleaseBackBuffer()
|
void CZXingBarcodeReaderAppView::ReleaseBackBuffer()
|
||||||
{
|
{
|
||||||
if (iBackBufferContext)
|
if (iBackBufferContext)
|
||||||
{
|
{
|
||||||
|
@ -320,7 +320,7 @@ void CCameraWrapperExampleAppView::ReleaseBackBuffer()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::MceoCameraReady()
|
void CZXingBarcodeReaderAppView::MceoCameraReady()
|
||||||
{
|
{
|
||||||
iAppUi->UseOptionsExitCbaL();
|
iAppUi->UseOptionsExitCbaL();
|
||||||
|
|
||||||
|
@ -346,7 +346,7 @@ void CCameraWrapperExampleAppView::MceoCameraReady()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::Capture()
|
void CZXingBarcodeReaderAppView::Capture()
|
||||||
{
|
{
|
||||||
// This method is called when picture is focused with camera shutter and pressed whole down
|
// This method is called when picture is focused with camera shutter and pressed whole down
|
||||||
// as taking a new picture
|
// as taking a new picture
|
||||||
|
@ -365,7 +365,7 @@ void CCameraWrapperExampleAppView::Capture()
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::StartFocusing()
|
void CZXingBarcodeReaderAppView::StartFocusing()
|
||||||
{
|
{
|
||||||
if (iCameraWrapper && iCameraWrapper->State() == CCameraEngine::EEngineViewFinding)
|
if (iCameraWrapper && iCameraWrapper->State() == CCameraEngine::EEngineViewFinding)
|
||||||
{
|
{
|
||||||
|
@ -389,7 +389,7 @@ void CCameraWrapperExampleAppView::StartFocusing()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::MceoFocusComplete()
|
void CZXingBarcodeReaderAppView::MceoFocusComplete()
|
||||||
{
|
{
|
||||||
// CameraEngine state is EEngineIdle
|
// CameraEngine state is EEngineIdle
|
||||||
SetTitle(_L("Focused"));
|
SetTitle(_L("Focused"));
|
||||||
|
@ -397,7 +397,7 @@ void CCameraWrapperExampleAppView::MceoFocusComplete()
|
||||||
if (iCameraShutterFocusing)
|
if (iCameraShutterFocusing)
|
||||||
{
|
{
|
||||||
// Leave as focused. User must press whole camera shutter down for capturing
|
// Leave as focused. User must press whole camera shutter down for capturing
|
||||||
// then CCameraWrapperExampleAppView::Capture() is called
|
// then CZXingBarcodeReaderAppView::Capture() is called
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -411,7 +411,7 @@ void CCameraWrapperExampleAppView::MceoFocusComplete()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::MceoCapturedDataReady( TDesC8* aData )
|
void CZXingBarcodeReaderAppView::MceoCapturedDataReady( TDesC8* aData )
|
||||||
{
|
{
|
||||||
SetTitle(_L("Saving picture..."));
|
SetTitle(_L("Saving picture..."));
|
||||||
|
|
||||||
|
@ -426,7 +426,7 @@ void CCameraWrapperExampleAppView::MceoCapturedDataReady( TDesC8* aData )
|
||||||
StorePicture(iData);
|
StorePicture(iData);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::StorePicture( TDesC8* aData )
|
void CZXingBarcodeReaderAppView::StorePicture( TDesC8* aData )
|
||||||
{
|
{
|
||||||
// Create path for filename
|
// Create path for filename
|
||||||
TFileName path = PathInfo::PhoneMemoryRootPath();
|
TFileName path = PathInfo::PhoneMemoryRootPath();
|
||||||
|
@ -474,7 +474,7 @@ void CCameraWrapperExampleAppView::StorePicture( TDesC8* aData )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::MceoCapturedBitmapReady( CFbsBitmap* aBitmap )
|
void CZXingBarcodeReaderAppView::MceoCapturedBitmapReady( CFbsBitmap* aBitmap )
|
||||||
{
|
{
|
||||||
if (iBackBufferContext)
|
if (iBackBufferContext)
|
||||||
{
|
{
|
||||||
|
@ -493,7 +493,7 @@ void CCameraWrapperExampleAppView::MceoCapturedBitmapReady( CFbsBitmap* aBitmap
|
||||||
iCameraWrapper->ReleaseImageBuffer();
|
iCameraWrapper->ReleaseImageBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::MceoViewFinderFrameReady( CFbsBitmap& aFrame )
|
void CZXingBarcodeReaderAppView::MceoViewFinderFrameReady( CFbsBitmap& aFrame )
|
||||||
{
|
{
|
||||||
if (iBackBufferContext)
|
if (iBackBufferContext)
|
||||||
{
|
{
|
||||||
|
@ -512,7 +512,7 @@ void CCameraWrapperExampleAppView::MceoViewFinderFrameReady( CFbsBitmap& aFrame
|
||||||
iCameraWrapper->ReleaseViewFinderBuffer();
|
iCameraWrapper->ReleaseViewFinderBuffer();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::MceoHandleError( TCameraEngineError aErrorType, TInt aError )
|
void CZXingBarcodeReaderAppView::MceoHandleError( TCameraEngineError aErrorType, TInt aError )
|
||||||
{
|
{
|
||||||
// NOTE: CameraEngine state seems to go into CCameraEngine::EEngineIdle state
|
// NOTE: CameraEngine state seems to go into CCameraEngine::EEngineIdle state
|
||||||
|
|
||||||
|
@ -565,7 +565,7 @@ void CCameraWrapperExampleAppView::MceoHandleError( TCameraEngineError aErrorTyp
|
||||||
iAppUi->UseOptionsExitCbaL();
|
iAppUi->UseOptionsExitCbaL();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCameraWrapperExampleAppView::MceoHandleOtherEvent( const TECAMEvent& /*aEvent*/ )
|
void CZXingBarcodeReaderAppView::MceoHandleOtherEvent( const TECAMEvent& /*aEvent*/ )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,19 +3,19 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// INCLUDE FILES
|
// INCLUDE FILES
|
||||||
#include "CameraWrapperExample.hrh"
|
#include "ZXingBarcodeReader.hrh"
|
||||||
#include "CameraWrapperExampleDocument.h"
|
#include "ZXingBarcodeReaderDocument.h"
|
||||||
#include "CameraWrapperExampleApplication.h"
|
#include "ZXingBarcodeReaderApplication.h"
|
||||||
|
|
||||||
// ============================ MEMBER FUNCTIONS ===============================
|
// ============================ MEMBER FUNCTIONS ===============================
|
||||||
|
|
||||||
CApaDocument* CCameraWrapperExampleApplication::CreateDocumentL ()
|
CApaDocument* CZXingBarcodeReaderApplication::CreateDocumentL ()
|
||||||
{
|
{
|
||||||
// Create an CameraWrapperExample document, and return a pointer to it
|
// Create an CameraWrapperExample document, and return a pointer to it
|
||||||
return CCameraWrapperExampleDocument::NewL (*this );
|
return CZXingBarcodeReaderDocument::NewL (*this );
|
||||||
}
|
}
|
||||||
|
|
||||||
TUid CCameraWrapperExampleApplication::AppDllUid () const
|
TUid CZXingBarcodeReaderApplication::AppDllUid () const
|
||||||
{
|
{
|
||||||
// Return the UID for the CameraWrapperExample application
|
// Return the UID for the CameraWrapperExample application
|
||||||
return KUidCameraWrapperExampleApp;
|
return KUidCameraWrapperExampleApp;
|
|
@ -0,0 +1,49 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2009 Nokia Corporation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// INCLUDE FILES
|
||||||
|
#include "ZXingBarcodeReaderAppUi.h"
|
||||||
|
#include "ZXingBarcodeReaderDocument.h"
|
||||||
|
|
||||||
|
// ============================ MEMBER FUNCTIONS ===============================
|
||||||
|
|
||||||
|
CZXingBarcodeReaderDocument* CZXingBarcodeReaderDocument::NewL (
|
||||||
|
CEikApplication& aApp )
|
||||||
|
{
|
||||||
|
CZXingBarcodeReaderDocument* self = NewLC (aApp );
|
||||||
|
CleanupStack::Pop (self );
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
|
CZXingBarcodeReaderDocument* CZXingBarcodeReaderDocument::NewLC (
|
||||||
|
CEikApplication& aApp )
|
||||||
|
{
|
||||||
|
CZXingBarcodeReaderDocument* self =
|
||||||
|
new (ELeave) CZXingBarcodeReaderDocument (aApp );
|
||||||
|
|
||||||
|
CleanupStack::PushL (self );
|
||||||
|
self->ConstructL ();
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CZXingBarcodeReaderDocument::ConstructL ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
CZXingBarcodeReaderDocument::CZXingBarcodeReaderDocument (
|
||||||
|
CEikApplication& aApp ) :
|
||||||
|
CAknDocument (aApp )
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
CZXingBarcodeReaderDocument::~CZXingBarcodeReaderDocument ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
CEikAppUi* CZXingBarcodeReaderDocument::CreateAppUiL ()
|
||||||
|
{
|
||||||
|
return new (ELeave) CZXingBarcodeReaderAppUi;
|
||||||
|
}
|
||||||
|
|
||||||
|
// End of File
|
Loading…
Reference in a new issue