forked from Travis-Sun/pywin32
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpythonwin.h
More file actions
47 lines (40 loc) · 1.19 KB
/
pythonwin.h
File metadata and controls
47 lines (40 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// pythonwin.h : main header file for the PYTHONWIN application
//
#ifndef __PYTHONWIN_H__
#define __PYTHONWIN_H__
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
/////////////////////////////////////////////////////////////////////////////
// CPythonWinApp:
// See pythonwin.cpp for the implementation of this class
//
class CPythonWinApp : public CWinApp
{
public:
CPythonWinApp();
void SetStatusText(const char *szStatus, BOOL bForce=FALSE);
protected:
BOOL OnCmdMsg (UINT nID, int nCode,
void* pExtra, AFX_CMDHANDLERINFO*pHandlerInfo);
private:
// Overrides
virtual CDocument *CPythonWinApp::OpenDocumentFile(LPCTSTR lpszFileName);
virtual BOOL PreTranslateMessage(MSG *pMsg);
virtual BOOL InitInstance();
virtual BOOL InitApplication();
virtual int ExitInstance();
virtual BOOL OnIdle( LONG );
virtual int Run(void);
virtual BOOL IsIdleMessage(MSG *pmsg);
// Implementation
// CPtrList idleHookList;
// int myIdleCtr;
// CString lastFile;
public: // give access to message map.
//{{AFX_MSG(CPythonWinApp)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
#endif // __filename_h__