⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 winavride.cpp

📁 用于开发Atmel的AVR系列单片机的GCC集成开发环境
💻 CPP
字号:
/**************************************************************************
Project: WinAVRIDE        MainFile
Copyright (C) 2005  Philipp Schober

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

History
19.Feb 2005 - First Release (V1.0)
****************************************************************************/

#include <vcl.h>
#pragma hdrstop
USERES("WinAVRIDE.res");
USEFORM("MainForm.cpp", Form1);
USEFORM("DepForm.cpp", Form2);
USEFORM("EnvOpt.cpp", EnvOptions);
USEFORM("OptionsDlg.cpp", OptDlg);
USEFORM("CompilerDlg.cpp", CompDlg);
USEUNIT("ConRedirect.cpp");
USEFORM("DirDialog.cpp", DirDlg);
USEFORM("Programmer.cpp", PgmDlg);
USEUNIT("io.cpp");
USEUNIT("ParPgm.cpp");
USEFORM("HexEditor.cpp", HexEdit);
USEUNIT("srec.cpp");
USEUNIT("ihex.cpp");
USEUNIT("RunFile.cpp");
USEUNIT("SynHighlighterAVRC.pas");
USEFORM("Terminal.cpp", TermForm);
USEUNIT("RS232Comm.cpp");
USEFORM("PortSettings.cpp", PortSet);
USEFORM("FileTrans.cpp", TransDlg);
USEFORM("PrgOptions.cpp", PrgOpt);
USEFORM("ToolsDlg.cpp", ToolDlg);
USEFORM("ToolSet.cpp", ToolSettings);
USEFORM("About.cpp", AboutDlg);
USEUNIT("stk500.cpp");
USEUNIT("vcl\PSBevel.cpp");
USEUNIT("ExpMFile.cpp");
USEFORM("PrtPrev.cpp", PrtPreForm);
USEFORM("PrtSetup.cpp", PrtSetForm);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
        try
        {
                 Application->Initialize();
                 Application->Title = "WinAVR IDE";
                 Application->CreateForm(__classid(TForm1), &Form1);
                 Application->CreateForm(__classid(TForm2), &Form2);
                 Application->CreateForm(__classid(TEnvOptions), &EnvOptions);
                 Application->CreateForm(__classid(TOptDlg), &OptDlg);
                 Application->CreateForm(__classid(TCompDlg), &CompDlg);
                 Application->CreateForm(__classid(TDirDlg), &DirDlg);
                 Application->CreateForm(__classid(TPgmDlg), &PgmDlg);
                 Application->CreateForm(__classid(THexEdit), &HexEdit);
                 Application->CreateForm(__classid(TTermForm), &TermForm);
                 Application->CreateForm(__classid(TPortSet), &PortSet);
                 Application->CreateForm(__classid(TTransDlg), &TransDlg);
                 Application->CreateForm(__classid(TPrgOpt), &PrgOpt);
                 Application->CreateForm(__classid(TToolDlg), &ToolDlg);
                 Application->CreateForm(__classid(TToolSettings), &ToolSettings);
                 Application->CreateForm(__classid(TAboutDlg), &AboutDlg);
                 Application->CreateForm(__classid(TPrtPreForm), &PrtPreForm);
                 Application->CreateForm(__classid(TPrtSetForm), &PrtSetForm);
                 Application->HelpFile = "WinAVRIDE.hlp";
                 Application->Run();
        }
        catch (Exception &exception)
        {
                 Application->ShowException(&exception);
        }
        return 0;
}
//---------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -