Meta2.cpp
上传用户:gelin96
上传日期:2017-01-08
资源大小:20993k
文件大小:11k
- /*****************************************************************************
- * Copyright Statement:
- * --------------------
- * This software is protected by Copyright and the information contained
- * herein is confidential. The software may not be copied and the information
- * contained herein may not be used or disclosed except with the written
- * permission of MediaTek Inc. (C) 2005
- *
- * BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
- * THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
- * RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
- * AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
- * NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
- * SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
- * SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
- * THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
- * NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
- * SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
- *
- * BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
- * LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
- * AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
- * OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
- * MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
- *
- * THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
- * WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
- * LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
- * RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
- * THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
- *
- *****************************************************************************/
- /*****************************************************************************
- *
- * Filename:
- * ---------
- * META2.cpp
- *
- * Project:
- * --------
- * Maui META APP
- *
- * Description:
- * ------------
- * META project source
- *
- * Author:
- * -------
- * Andy Ueng (mtk00490)
- *
- *============================================================================
- * HISTORY
- * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *------------------------------------------------------------------------------
- * $Revision$
- * $Modtime$
- * $Log$
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *============================================================================
- ****************************************************************************/
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #pragma hdrstop
- USEFORM("factoryMETA_Factory.cpp", frmFatcory);
- USEFORM("factoryMETA_factory_AboutU.cpp", Form_About);
- USEFORM("factoryMETA_factory_reboot_go.cpp", Form_META_factory_reboot_go);
- USEFORM("Formform_UpdateParameter.cpp", frmUpdateParameter);
- USEFORM("Formform_BarcodeDownload.cpp", frmBarcodeDownload);
- USEFORM("Formform_BaseBand.cpp", frmBaseBand);
- USEFORM("Formform_Convert.cpp", frmConvert);
- USEFORM("Formform_DatabaseChange.cpp", frmDatabaseChange);
- USEFORM("Formform_FATEditor.cpp", frmFATEditor);
- USEFORM("Formform_GetVersion.cpp", frmGetVersion);
- USEFORM("Formform_IMEIDownload.cpp", frmIMEIDownload);
- USEFORM("Formform_InterSlotRampSetting.cpp", frmInterSlotRampSetting);
- USEFORM("Formform_Main.cpp", frmMainSel);
- USEFORM("Formform_MMIDataDownload.cpp", frmMMIDataDownload);
- USEFORM("Formform_RFApcProfile.cpp", frmApcProfile);
- USEFORM("Formform_RFPathLoss.cpp", frmPathLoss);
- USEFORM("Formform_RFTool.cpp", frmRFTool);
- USEFORM("Formform_ServiceCenter.cpp", frmServiceCenter);
- USEFORM("Formform_Audio.cpp", frmAudio);
- USEFORM("Formform_FirCoeffCal.cpp", frmFIRCoeffCal);
- USEFORM("Formform_FirResponse.cpp", frmFirResponse);
- USEFORM("Formform_RFGUIApcProfile.cpp", frmGUIApcProfile);
- USEFORM("factoryFormform_CalPath.cpp", frmCalPath);
- USEFORM("Formform_CFGRxPathLoss.cpp", frmCFGRxPathLoss);
- USEFORM("Formform_CFGAfc.cpp", frmCFGAfc);
- USEFORM("Formform_CFGCrystalAfc.cpp", frmCFGCrystalAfc);
- USEFORM("Formform_CFGTxPcl.cpp", frmCFGTxPcl);
- USEFORM("Formform_CFGADC.cpp", frmCFGAdc);
- USEFORM("Formform_Setting.cpp", frmSetting);
- USEFORM("Formform_CFGCommon.cpp", frmCFGCommon);
- USEFORM("Formform_32kFirCoeffCal.cpp", frm32kFirCoefCal);
- USEFORM("Formform_RF8PskApcProfile.cpp", frm8PskApcProfile);
- USEFORM("Formform_EpskInterSlotRampSetting.cpp", frmEpskInterSlotRampSetting);
- USEFORM("Formform_RFEPSKGUIApcProfile.cpp", frmEPSKGUIApcProfile);
- USEFORM("FormWiFiform_WiFiMCR.cpp", frmWiFiMCR);
- USEFORM("FormWiFiform_WiFiBBCR.cpp", frmWiFiBBCR);
- USEFORM("FormWiFiform_WiFiScript.cpp", frmWiFiScript);
- USEFORM("FormWiFiform_WiFiEEPROM.cpp", frmWiFiEEPROM);
- USEFORM("FormWiFiform_wifitxprofile.cpp", frmWiFiTxProfile);
- USEFORM("FormWiFiform_WiFI.cpp", frmWiFi);
- USEFORM("NVRAM EditorNVRAMEditor.cpp", frmNVRAMEditor);
- USEFORM("Formform_RFTXIQBBTX.cpp", frmTXIQBBTXSetting);
- USEFORM("Formform_RFCTBBTXRun.cpp", frmCTBBTXRunTimeSetting);
- USEFORM("Formform_RFTXIQBBTXRun.cpp", frmTXIQBBTXRunTimeSetting);
- USEFORM("Formform_RFMT6139Reg.cpp", frmMT6139Reg);
- USEFORM("FormBTform_BT.cpp", frmBT);
- USEFORM("Formform_UnitTest.cpp", frmUnitTest);
- USEFORM("Formform_PMICReg.cpp", frmPMICReg);
- USEFORM("Formform_RFMT6140CReg.cpp", frmMT6140CReg);
- USEFORM("Formform_RFMT6140BReg.cpp", frmMT6140BReg);
- USEFORM("FormWiFiform_WiFiALC2400M.cpp", frmWiFiALC2400M);
- USEFORM("Formform_Progress.cpp", m_frmProgress);
- USEFORM("FormFMform_FM.cpp", frmFM);
- USEFORM("FormTDMBform_TDMB.cpp", frmTDMB);
- USEFORM("Formform_Rtc32k.cpp", frmRTC32k);
- USEFORM("Formform_RFReg.cpp", frmRFReg);
- //---------------------------------------------------------------------------
- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
- {
- try
- {
- Application->Initialize();
- Application->CreateForm(__classid(TfrmMainSel), &frmMainSel);
- Application->CreateForm(__classid(TfrmPMICReg), &frmPMICReg);
- Application->CreateForm(__classid(TfrmBaseBand), &frmBaseBand);
- Application->CreateForm(__classid(TfrmPathLoss), &frmPathLoss);
- Application->CreateForm(__classid(TfrmApcProfile), &frmApcProfile);
- Application->CreateForm(__classid(TForm_About), &Form_About);
- Application->CreateForm(__classid(TForm_META_factory_reboot_go), &Form_META_factory_reboot_go);
- Application->CreateForm(__classid(TfrmConvert), &frmConvert);
- Application->CreateForm(__classid(TfrmMMIDataDownload), &frmMMIDataDownload);
- Application->CreateForm(__classid(TfrmFatcory), &frmFatcory);
- Application->CreateForm(__classid(TfrmInterSlotRampSetting), &frmInterSlotRampSetting);
- Application->CreateForm(__classid(TfrmIMEIDownload), &frmIMEIDownload);
- Application->CreateForm(__classid(TfrmGetVersion), &frmGetVersion);
- Application->CreateForm(__classid(TfrmBarcodeDownload), &frmBarcodeDownload);
- Application->CreateForm(__classid(TfrmUpdateParameter), &frmUpdateParameter);
- Application->CreateForm(__classid(TfrmFATEditor), &frmFATEditor);
- Application->CreateForm(__classid(TfrmServiceCenter), &frmServiceCenter);
- Application->CreateForm(__classid(TfrmDatabaseChange), &frmDatabaseChange);
- Application->CreateForm(__classid(TfrmFIRCoeffCal), &frmFIRCoeffCal);
- Application->CreateForm(__classid(TfrmFirResponse), &frmFirResponse);
- Application->CreateForm(__classid(TfrmGUIApcProfile), &frmGUIApcProfile);
- Application->CreateForm(__classid(TfrmCalPath), &frmCalPath);
- Application->CreateForm(__classid(TfrmCFGRxPathLoss), &frmCFGRxPathLoss);
- Application->CreateForm(__classid(TfrmCFGAfc), &frmCFGAfc);
- Application->CreateForm(__classid(TfrmCFGCrystalAfc), &frmCFGCrystalAfc);
- Application->CreateForm(__classid(TfrmCFGTxPcl), &frmCFGTxPcl);
- Application->CreateForm(__classid(TfrmCFGAdc), &frmCFGAdc);
- Application->CreateForm(__classid(TfrmSetting), &frmSetting);
- Application->CreateForm(__classid(TfrmCFGCommon), &frmCFGCommon);
- Application->CreateForm(__classid(Tfrm32kFirCoefCal), &frm32kFirCoefCal);
- Application->CreateForm(__classid(Tfrm8PskApcProfile), &frm8PskApcProfile);
- Application->CreateForm(__classid(TfrmEPSKGUIApcProfile), &frmEPSKGUIApcProfile);
- Application->CreateForm(__classid(TfrmEpskInterSlotRampSetting), &frmEpskInterSlotRampSetting);
- Application->CreateForm(__classid(TfrmEPSKGUIApcProfile), &frmEPSKGUIApcProfile);
- Application->CreateForm(__classid(TfrmWiFiMCR), &frmWiFiMCR);
- Application->CreateForm(__classid(TfrmWiFiBBCR), &frmWiFiBBCR);
- Application->CreateForm(__classid(TfrmWiFiTxProfile), &frmWiFiTxProfile);
- Application->CreateForm(__classid(TfrmWiFiScript), &frmWiFiScript);
- Application->CreateForm(__classid(TfrmWiFiEEPROM), &frmWiFiEEPROM);
- Application->CreateForm(__classid(TfrmWiFiTxProfile), &frmWiFiTxProfile);
- Application->CreateForm(__classid(TfrmWiFiALC2400M), &frmWiFiALC2400M);
- Application->CreateForm(__classid(TfrmWiFi), &frmWiFi);
- Application->CreateForm(__classid(TfrmNVRAMEditor), &frmNVRAMEditor);
- Application->CreateForm(__classid(TfrmTXIQBBTXSetting), &frmTXIQBBTXSetting);
- Application->CreateForm(__classid(TfrmCTBBTXRunTimeSetting), &frmCTBBTXRunTimeSetting);
- Application->CreateForm(__classid(TfrmTXIQBBTXRunTimeSetting), &frmTXIQBBTXRunTimeSetting);
- Application->CreateForm(__classid(TfrmMT6139Reg), &frmMT6139Reg);
- Application->CreateForm(__classid(TfrmMT6140CReg), &frmMT6140CReg);
- Application->CreateForm(__classid(TfrmMT6140BReg), &frmMT6140BReg);
- Application->CreateForm(__classid(TfrmRTC32k), &frmRTC32k);
- Application->CreateForm(__classid(TfrmRFTool), &frmRFTool);
- Application->CreateForm(__classid(TfrmAudio), &frmAudio);
- Application->CreateForm(__classid(TfrmBT), &frmBT);
- Application->CreateForm(__classid(TfrmUnitTest), &frmUnitTest);
- Application->CreateForm(__classid(Tm_frmProgress), &m_frmProgress);
- Application->CreateForm(__classid(TfrmFM), &frmFM);
- Application->CreateForm(__classid(TfrmTDMB), &frmTDMB);
- Application->CreateForm(__classid(TfrmRFReg), &frmRFReg);
- Application->Run();
- }
- catch (Exception &exception)
- {
- Application->ShowException(&exception);
- }
- return 0;
- }
- //---------------------------------------------------------------------------