1 /* Copyright 2000, International Business Machines Corporation and others.
4 This software has been released under the terms of the IBM Public
5 License. For details, see the LICENSE file in the top-level source
6 directory or online at http://www.openafs.org/dl/license10.html
8 // MyFrame.h : header file
11 /////////////////////////////////////////////////////////////////////////////
18 #endif // _MSC_VER > 1000
21 #error include 'stdafx.h' before including this file for PCH
24 #include "resource.h" // main symbols
25 #define LOGSHOWWINDOW 1
26 #define LOGSHOWPRINT 2
28 #define ONPARMDISCONNECT 1
29 #define ONPARMCONNECT 2
34 ///////////////////// CMyThread stuff //////////////////////////
36 class CMyUIThread: public CWinThread {
37 DECLARE_DYNCREATE(CMyUIThread)
38 CMyUIThread(); // protected constructor used by dynamic creation
42 CFileException m_cPrintException;
45 static HANDLE m_hEventThreadKilled;
47 void operator delete(void* p);
53 // ClassWizard generated virtual function overrides
54 //{{AFX_VIRTUAL(CMyUIThread)
56 virtual BOOL InitInstance();
57 virtual int ExitInstance();
62 virtual ~CMyUIThread();
64 // Generated message map functions
65 //{{AFX_MSG(CMyUIThread)
66 // NOTE - the ClassWizard will add and remove member functions here.
68 afx_msg void OnParm( UINT, LONG );
69 afx_msg void OnConnect( UINT, LONG );
70 afx_msg void OnLog( UINT, LONG );
73 //{{AFX_INSERT_LOCATION}}
74 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.