//-*- mode: c++; indent-tabs-mode: t; coding: utf-8; show-trailing-whitespace: t -*- // file dekplt.hpp #ifndef _DEKPLT_HPP #define _DEKPLT_HPP #include namespace dekplt { // Structures. struct tagFVCom { double m_nVMin; double m_nVMax; double m_nHMin; double m_nHMax; double m_nHA; double m_nTAxisL; double m_nTolrce; double m_nHTax; double m_nXTit; double m_nYTit; double m_nSizTit; double m_nXSuper; double m_nYSuper; double m_nSizSup; double m_nFLine; double m_nSizID; double m_nXID; double m_nYID; double m_nFact; double m_nDXGrd1; double m_nDYGrd1; double m_nDXGrd2; double m_nDYGrd2; double m_nFill1; double m_nFill2; double m_nVS; double m_nVL; double m_nVH; double m_nPapMax; double m_nTimBeg; double m_nTimEnd; double m_nFHTax; double m_nFXSup; double m_nFYSup; double m_nFXTit; double m_nFYTit; double m_nFXID; double m_nFYID; double m_nFTCarr; double m_nVAxisL; double m_nFXNumV; double m_nFXNumH; double m_FVXAxtt; double m_FXVert; double m_nFSymb; double m_nPapLim; }; typedef struct tagFVCom tFVCom; struct tagIVCom { int m_nKlevl; int m_nKextr; int m_nIHS; int m_nLu7Plt; int m_nIprsrt; int m_nLimCol; int m_nLinePR; int m_nIBaud; int m_nLTek; int m_nNumTit; int m_nMaxSym; int m_nMTit; int m_nMaxISX; int m_nMaxISY; int m_nGrid1; int m_nGrid2; int m_nMSuper; int m_nMid; int m_nMLine; int m_nCut1; int m_nCut2; int m_nSmPlt; int m_nLSymb; int m_nXMax; int m_nYMax; int m_nLChId; int m_nXInch; int m_nYInch; int m_nXOff; int m_nYOff; int m_nLook; int m_nLChSup; int m_nLChTit; int m_nLChXax; int m_nLCHYax; int m_nITerm; int m_nLTic; int m_nIzTit; int m_nIZGr1; int m_nIZGr2; int m_nLdShg1; int m_nLdShg2; int m_nIZXax; int m_nIZYax; int m_nXId6; int m_nYId6; int m_nXEnd; int m_nYEnd; int m_nIZId; int m_nXVern; int m_nIChRef; int m_nIChEnd; int m_nInchPx; int m_nInchPy; int m_nInWait; int m_nNoLabl; int m_nLChFil; int m_nLChLim; int m_nMu6Std; }; typedef struct tagIVCom tIVCom; struct tagANPLT { char m_pChoice[ 8 ]; char m_pStop[ 8 ]; char m_pPurge[ 8 ]; char m_pOut[ 8 ]; char m_pHelp[ 8 ]; char m_pSmooth[ 8 ]; char m_pSize[ 8 ]; char m_pShow[ 8 ]; char m_pLineZZ[ 8 ]; char m_pPhoto[ 8 ]; char m_pRepeat[ 8 ]; char m_pFlush[ 8 ]; char m_pPlayBA[ 8 ]; char m_pPen[ 8 ]; char m_pMultiP[ 8 ]; char m_pOffset[ 8 ]; char m_pLimits[ 8 ]; char m_pDebug[ 8 ]; char m_pTEK[ 8 ]; char m_pStack[ 8 ]; char m_pPrintE[ 8 ]; char m_pMetric[ 8 ]; char m_pAllTim[ 8 ]; char m_pColumn[ 8 ]; char m_pSetCol[ 8 ]; char m_pLonger[ 8 ]; char m_pAverag[ 8 ]; char m_pInner[ 8 ]; char m_pRescal[ 8 ]; char m_pLastPL[ 8 ]; char m_pBatch[ 8 ]; char m_pPunch[ 8 ]; char m_pExtrem[ 8 ]; char m_pLevel[ 8 ]; char m_pNoPlot[ 8 ]; char m_pMessag[ 8 ]; char m_pEnd[ 8 ]; char m_pTimeSP[ 8 ]; char m_pLabel[ 8 ]; char m_pTimeUN[ 8 ]; char m_pCursor[ 8 ]; char m_pXYPlot[ 8 ]; char m_pSlope[ 8 ]; char m_pBack[ 8 ]; char m_pReFile[ 8 ]; char m_pTEXBlk[ 8 ]; char m_pSetDat[ 8 ]; }; typedef struct tagANPLT tANPLT; // Variables. extern char pBBus[ 300 ]; extern char pBusLst[ 1000 ]; // extern int nIBaud; extern int nIBrnch; extern int nIBsOut; extern int nICHEnd; extern int nICHRef; extern int nICP; extern int nICurse; extern int nIHS; extern int nInchPX; extern int nInchPY; extern int nInd1; extern int nIndExp; extern int nInWait; extern int nIPrsrt; extern int nITerm; extern int nIZgr1; extern int nIZgr2; extern int nIZid; extern int nZtit; extern int nIzxax; extern int nIzyax; extern int nL4Plot; extern int nLchfil; extern int nLchid; extern int nLchlim; extern int nLchsup; extern int nLchtit; extern int nLchxax; extern int nLchyax; extern int nLdshg1; extern int nLdshg2; extern int nLimCol; extern int nLimFix; extern int nLook; extern int nLSymb; extern int nLTic; extern int nLu7Plt; extern int nLinePR; extern int nLTek; extern int nMaxEv; extern int nMaxEw; extern int nMaxIp; extern int nMaxIsx; extern int nMaxIsy; extern int nMaxSym; extern int nMFake; extern int nMGrid1; extern int nMGrid2; extern int nMid; extern int nMLine; extern int nMSuper; extern int nMTit; extern int nMu6Sav; extern int nMu6Std; extern int nMxypl; extern int nNamVar; extern int nNc; extern int nChSup; extern int nChVer; extern int nCut; extern int nCut1; extern int nCut2; extern int nNewFil; extern int nNoLabl; extern int nSmplt; extern int nNT2; extern int nNumBrn; extern int nNumFlt; extern int nNumNVO; extern int nNumOut; extern int nNumRaw; extern int nNumTek; extern int nNumTit; extern int nV; extern int nXEnd; extern int nXId6; extern int nXInch; extern int nXMax; extern int nXOff; extern int nXVern; extern int nYEnd; extern int nYId6; extern int nYInch; extern int nYMax; extern int nYOff; extern int pLabrtm[ 20 ]; extern int pMCurve[ 20 ]; extern int pMLevel[ 20 ]; extern int pMMM[ 20 ]; extern int nMPlot[ 20 ]; extern int pMStart[ 20 ]; extern int pMSymbT[ 20 ]; extern int pNumPts[ 20 ]; // extern double nDX; extern double nDXGrd1; extern double nDXGrd2; extern double nDY; extern double nDYGrd1; extern double nDYGrd2; extern double nEvnByt; extern double nFact; extern double nFHTax; extern double nFill; extern double nFill1; extern double nFill2; extern double nFinFin; extern double nFLine; extern double nFSymb; extern double nFTCarr; extern double nFVAxtt; extern double nFXId; extern double nFXNumH; extern double nFXNumV; extern double nFXSup; extern double nFXTit; extern double nFXVert; extern double nFYId; extern double nFYSup; extern double nFYTit; extern double nGMax; extern double nGMin; extern double nHA; extern double nHMax; extern double nHMin; extern double nHPI; extern double nHTax; extern double nPapLim; extern double nPapMax; extern double nSizID; extern double nSizSup; extern double nSizTit; extern double nTAxisL; extern double nTimeBeg; extern double nTimeEnd; extern double nTMult; extern double nTolrce; extern double nTStep; extern double nVaxIsl; extern double nVH; extern double nVL; extern double nVMax; extern double nVMaxR; extern double nVMin; extern double nVMinR; extern double nVS; extern double nXId; extern double nXSuper; extern double nXTit; extern double nYId; extern double nYSuper; extern double nYTit; extern double pAAA[ 20 ]; extern double pBBB[ 20 ]; extern double pBX[ 150 ]; extern double pDatePL[ 2 ]; extern double pDYOld[ 20 ]; extern double pEV[ 15000 ]; extern double pEW[ 15000 ]; extern double pFVCom[ 50 ]; extern double pFXRef[ 25 ]; extern double pFYRef[ 25 ]; extern double pTClop[ 2 ]; extern double pTTLev[ 20 ]; extern double pTTMax[ 20 ]; extern double pTTMin[ 20 ]; extern double pYLevel[ 20 ]; extern double pYYMax[ 20 ]; extern double pYYMin[ 20 ]; // extern std::string sFilNam; extern std::string sAlpha; extern std::string sBuffIn; extern std::string sVertL; extern std::string sHeadL; extern std::string sXYTitl; extern std::string sTextD1; extern std::string sTextD2; extern std::string sCurren; extern std::string sVoltag; extern std::string sBrClas; extern std::string sDate; extern std::string sTime; extern std::string sANSI; extern std::string sBuffIn; extern std::string pSlot1[ 20 ]; extern std::string pSext[ 6 ]; extern std::string pHorzL[ 8 ]; extern std::string pIBuff[ 20 ]; extern std::string pABuff77[ 10 ]; extern std::string pAnPlt[]; // extern tFVCom sFVCom; extern tIVCom sIVCom; } #endif // _DEKPLT_HPP