]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - tools/src/tools/pkgadmin/win32/PkgAdminTclWaitDlg.h
Initial revision
[karo-tx-redboot.git] / tools / src / tools / pkgadmin / win32 / PkgAdminTclWaitDlg.h
1 //####COPYRIGHTBEGIN####
2 //                                                                          
3 // ----------------------------------------------------------------------------
4 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
5 //
6 // This program is part of the eCos host tools.
7 //
8 // This program is free software; you can redistribute it and/or modify it 
9 // under the terms of the GNU General Public License as published by the Free 
10 // Software Foundation; either version 2 of the License, or (at your option) 
11 // any later version.
12 // 
13 // This program is distributed in the hope that it will be useful, but WITHOUT 
14 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
15 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for 
16 // more details.
17 // 
18 // You should have received a copy of the GNU General Public License along with
19 // this program; if not, write to the Free Software Foundation, Inc., 
20 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 //
22 // ----------------------------------------------------------------------------
23 //                                                                          
24 //####COPYRIGHTEND####
25 #if !defined(AFX_PKGADMINTCLWAITDLG_H__69004D5F_F01F_11D3_801B_00A0C9554250__INCLUDED_)
26 #define AFX_PKGADMINTCLWAITDLG_H__69004D5F_F01F_11D3_801B_00A0C9554250__INCLUDED_
27
28 #if _MSC_VER > 1000
29 #pragma once
30 #endif // _MSC_VER > 1000
31 // PkgAdminTclWaitDlg.h : header file
32 //
33
34 /////////////////////////////////////////////////////////////////////////////
35 // CPkgAdminTclWaitDlg dialog
36
37 typedef struct EvalTclStruct {
38         char * argv0;
39         char * argv;
40         char * argc;
41         HWND hwnd;
42         int status;
43         char * result;
44 } tagEvalTclStruct;
45
46 class CPkgAdminTclWaitDlg : public CDialog
47 {
48 // Construction
49 public:
50         CPkgAdminTclWaitDlg(CWnd* pParent = NULL);   // standard constructor
51         EvalTclStruct etsInfo;
52         
53 // Dialog Data
54         //{{AFX_DATA(CPkgAdminTclWaitDlg)
55         enum { IDD = IDD_PKGADMIN_WAIT };
56                 // NOTE: the ClassWizard will add data members here
57         //}}AFX_DATA
58
59
60 // Overrides
61         // ClassWizard generated virtual function overrides
62         //{{AFX_VIRTUAL(CPkgAdminTclWaitDlg)
63         protected:
64         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
65         //}}AFX_VIRTUAL
66
67 // Implementation
68 protected:
69         static UINT EvalTclThread (LPVOID pvParam);
70         // Generated message map functions
71         //{{AFX_MSG(CPkgAdminTclWaitDlg)
72         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
73         //}}AFX_MSG
74         DECLARE_MESSAGE_MAP()
75 };
76
77 //{{AFX_INSERT_LOCATION}}
78 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
79
80 #endif // !defined(AFX_PKGADMINTCLWAITDLG_H__69004D5F_F01F_11D3_801B_00A0C9554250__INCLUDED_)