summaryrefslogtreecommitdiffabout
path: root/T42.h
authorMichael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
committer Michael Krelin <hacker@klever.net>2004-07-05 01:53:09 (UTC)
commit955d4e00adc9f39ab93bf21f07506eb75b013c70 (patch) (side-by-side diff)
tree92493a2c9ac206b822e24a9e5a6f6b1589be6afb /T42.h
downloadT42-955d4e00adc9f39ab93bf21f07506eb75b013c70.zip
T42-955d4e00adc9f39ab93bf21f07506eb75b013c70.tar.gz
T42-955d4e00adc9f39ab93bf21f07506eb75b013c70.tar.bz2
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/T42/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (limited to 'T42.h') (more/less context) (ignore whitespace changes)
-rw-r--r--T42.h83
1 files changed, 83 insertions, 0 deletions
diff --git a/T42.h b/T42.h
new file mode 100644
index 0000000..b330a9f
--- a/dev/null
+++ b/T42.h
@@ -0,0 +1,83 @@
+// T42.h : main header file for the T42 application
+//
+
+#ifndef __AFXWIN_H__
+ #error include 'stdafx.h' before including this file for PCH
+#endif
+
+#include "resource.h" // main symbols
+
+/////////////////////////////////////////////////////////////////////////////
+// CT42App:
+// See T42.cpp for the implementation of this class
+//
+
+class CT42Dlg;
+class CT42App : public CWinApp
+{
+public:
+ void FlushT42CallsLog();
+ CString m_HelpFile;
+ UINT m_T42TalkPort;
+ UINT m_T42LinesBusy;
+ BOOL m_bAwayOnScreenSaver;
+ BOOL UpdateT42Call(CT42CallLogEntry& entry);
+ CT42Dlg* m_pT42Dlg;
+ BOOL DelT42Call(CTime& time);
+ BOOL AddT42Call(CT42CallLogEntry& entry);
+ LONG m_nT42Calls;
+ LONG GetT42Calls();
+ BOOL GetT42Call(LONG call,CT42CallLogEntry& entry);
+ LONG m_t42Call;
+ BOOL CloseT42CallsLog();
+ BOOL OpenT42CallsLog();
+ CString m_t42CallsFile;
+ CT42CallLog m_T42Calls;
+ CString m_T42SGreeting;
+ CTimeSpan m_T42STimeLimit;
+ UINT m_T42SWinLimit;
+ UINT m_T42SBytesLimit;
+ COLORREF m_crT42LocalBG;
+ COLORREF m_crT42RemoteBG;
+ CHARFORMAT m_fmtT42System;
+ CHARFORMAT m_fmtT42Remote;
+ CHARFORMAT m_fmtT42Local;
+ void Options(CWnd* pParent=NULL);
+ void StopSound(LPCTSTR snd);
+ BOOL StartSound(LPCTSTR snd,BOOL bLoop = FALSE);
+ void Initialize();
+ CString m_sndTeapotWhistle;
+ CString m_sndBoilingTeapot;
+ CString m_sndTeaDrop;
+ CString m_sndT42Wake;
+ BOOL m_bT42PromptLoop;
+ CString m_sndT42Prompt;
+ CString m_sndT42Bell;
+ BOOL m_bt42AutosaveLayout;
+ UINT m_maxT42Callers;
+ CStringList m_t42Callers;
+ BOOL LastCaller(LPCTSTR caller);
+ void LoadSettings();
+ void SaveSettings();
+ UINT m_maxT42Callees;
+ BOOL LastCallee(LPCTSTR callee);
+ CStringList m_t42Callees;
+ CDocTemplate* m_pTemplate;
+ CT42App();
+
+// Overrides
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CT42App)
+ public:
+ virtual BOOL InitInstance();
+ //}}AFX_VIRTUAL
+
+// Implementation
+
+ //{{AFX_MSG(CT42App)
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
+};
+
+
+/////////////////////////////////////////////////////////////////////////////