📄 main.h
字号:
//License: GNU
//
//
//
// J-QAM sound card modem
//
// Copyright (C) 2007 Jonti Olds
//
//
//
// 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 3 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, see <http://www.gnu.org/licenses/>
//---------------------------------------------------------------------------
#ifndef mainH
#define mainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include "JvExControls.hpp"
#include "JvgLabel.hpp"
#include "JvLED.hpp"
#include "JvSimIndicator.hpp"
#include "JvEdit.hpp"
#include "JvExStdCtrls.hpp"
#include "JvValidateEdit.hpp"
#include "JvXPCheckCtrls.hpp"
#include "JvXPCore.hpp"
#include "JvLabel.hpp"
#include "JvCombobox.hpp"
#include "JvgGroupBox.hpp"
#include "JvXPButtons.hpp"
#include "JvMenus.hpp"
#include <Menus.hpp>
#include "uCiaComport.hpp"
#include "Graph.h"
#include "Modulator.h"
#include "DeModulator.h"
#include "JvProgressBar.hpp"
#include "JvXPProgressBar.hpp"
#include "JvAppIniStorage.hpp"
#include "JvAppStorage.hpp"
#include "JvComponentBase.hpp"
#include "JvFormPlacement.hpp"
#include "JvTrayIcon.hpp"
#include "About.h"
#include "Settings_F.h"
#include "WSocket.hpp"
#include "JvComCtrls.hpp"
#include "Crc32.h"
#include "JvExMask.hpp"
#include "JvToolEdit.hpp"
#include <Grids.hpp>
#include <Mask.hpp>
#include <ValEdit.hpp>
#include "JvDriveCtrls.hpp"
#include <FileCtrl.hpp>
#include "FtpSrv.hpp"
#include "HttpSrv.hpp"
#include "JvSpin.hpp"
#include "JvStaticText.hpp"
#include "JvPageList.hpp"
#include <vector>
#include "DirectoryMon.h"
#include <HTTPApp.hpp>
#pragma link "inet.lib"
#include "Sound.h"
#include "TSoundOutThread.h"
#include "TSoundInThread.h"
// This component is used for client connection instead of default one.
// This enables to add any data we need to handle our application.
// As this data is located in client component, each connected client has
// his own private data.
class TMyHttpConnection : public THttpConnection
{
protected:
char *FPostedDataBuffer; // Will hold dynamically allocated buffer
int FPostedDataSize; // Databuffer size
int FDataLen; // Keep track of received byte count.
public:
virtual __fastcall ~TMyHttpConnection();
};
//------------------------------------------------------------------
class TQAMForm : public TForm
{
__published: // IDE-managed Components
TJvMainMenu *JvMainMenu1;
TMenuItem *File1;
TMenuItem *Exit1;
TMenuItem *Help1;
TMenuItem *About1;
TCiaComPort *CiaComPort1;
TTimer *Timer1;
TJvTrayIcon *JvTrayIcon1;
TStatusBar *StatusBar1;
TWSocket *WSocketListner;
TWSocket *WSocketSender;
TWSocket *SocketUnRealTCPClient;
TWSocket *SocketUnRealTCPServerListner;
TTimer *SecondTimer;
TFtpServer *FtpServer1;
THttpServer *HttpServer1;
TMenuItem *Options1;
TMenuItem *Settings1;
TMenuItem *View1;
TMenuItem *Console1;
TMenuItem *Constelation1;
TMenuItem *Spectrum1;
TJvPageList *JvPageList1;
TMenuItem *Rx1;
TMenuItem *Tx1;
TJvStandardPage *JvStandardPageTX;
TJvStandardPage *JvStandardPageRX;
TJvgGroupBox *JvgGroupBox4;
TJvgLabel *JvgLabel2;
TJvLED *CDLED;
TJvLED *AMALED;
TJvgLabel *JvgLabel3;
TJvLED *UnRealHeaderLED;
TJvgLabel *JvgLabel6;
TJvgLabel *JvgLabel10;
TJvLED *FRMLED;
TJvLED *LKLED;
TJvgLabel *JvgLabel11;
TJvgLabel *JvgLabel7;
TJvLED *UnRealServerLED;
TJvgGroupBox *JvgGroupBox3;
TJvXPProgressBar *LevelBar;
TJvgGroupBox *JvgGroupBox6;
TJvLabel *JvLabelRXInterleavingLength;
TJvgLabel *JvgLabel9;
TJvgLabel *JvgLabel15;
TJvLabel *JvLabelRXRSFEC;
TJvgLabel *JvgLabel16;
TJvLabel *JvLabelRXFreamePeriod;
TJvgLabel *JvgLabel17;
TJvLabel *JvLabelRXDataRate;
TJvgGroupBox *JvgGroupBox7;
TJvLabel *JvLabelRXUnrealCnt;
TJvgLabel *JvgLabel18;
TJvgLabel *JvgLabel19;
TJvLabel *JvLabelRXUDPCnt;
TJvgLabel *JvgLabel20;
TJvLabel *JvLabelRXWebCnt;
TJvgLabel *JvgLabel21;
TJvLabel *JvLabelRXRS232Cnt;
TJvgLabel *JvgLabel23;
TJvLabel *JvLabelRXLostCnt;
TJvLabel *JvLabelRXTotCnt;
TJvgLabel *JvgLabel22;
TJvgGroupBox *JvgGroupBox2;
TJvLabel *JvLabelRXFreq;
TJvgLabel *JvgLabel13;
TJvgLabel *JvgLabel12;
TJvLabel *JvLabelRXSymbolRate;
TJvgLabel *JvgLabel14;
TJvLabel *JvLabelRXConstelationType;
TJvStaticText *RXStationIDText;
TJvStandardPage *JvStandardPageNone;
TJvStaticText *TXStationIDText1;
TJvgGroupBox *JvgGroupBox8;
TJvLabel *JvLabelTXFreq;
TJvgLabel *JvgLabel26;
TJvgLabel *JvgLabel27;
TJvLabel *JvLabelTXSymbolRate;
TJvgLabel *JvgLabel28;
TJvLabel *JvLabelTXConstelationType;
TJvgGroupBox *JvgGroupBox9;
TJvLabel *JvLabelTXInterleavingLength;
TJvgLabel *JvgLabel29;
TJvgLabel *JvgLabel30;
TJvLabel *JvLabelTXRSFEC;
TJvgLabel *JvgLabel31;
TJvLabel *JvLabelTXFreamePeriod;
TJvgLabel *JvgLabel32;
TJvLabel *JvLabelTXDataRate;
TJvgGroupBox *JvgGroupBox10;
TJvLabel *JvLabelTXUnrealCnt;
TJvgLabel *JvgLabel33;
TJvgLabel *JvgLabel34;
TJvLabel *JvLabelTXUDPCnt;
TJvgLabel *JvgLabel35;
TJvLabel *JvLabelTXWebCnt;
TJvgLabel *JvgLabel36;
TJvLabel *JvLabelTXRS232Cnt;
TJvLabel *JvLabelTXTotCnt;
TJvgLabel *JvgLabel38;
TMenuItem *Start1;
TMenuItem *Stop1;
TJvgGroupBox *JvgGroupBox13;
TJvLED *DeModLED;
TJvStaticText *text34;
TJvgGroupBox *JvgGroupBox12;
TJvLED *ModLED;
TJvXPButton *JvXPButtonStart;
TJvXPButton *JvXPButtonStop;
TJvgGroupBox *JvgGroupBox1;
TJvLabel *JvLabelMSE;
TJvStaticText *JvStaticText1;
TJvgGroupBox *JvgGroupBox5;
TJvgLabel *JvgLabel5;
TJvLED *UnRealClientLED;
TJvgLabel *JvgLabel42;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -