Flush current work
[desktopswitcher.git] / rundialog.h
blobca15e4674ec9d169970e7d9cfb3717a311bc8996
1 // $Id: rundialog.h,v 1.1 2002/05/29 22:06:50 nedko Exp $
2 //
3 // Desktop Switcher
4 // Copyright (C) 2000,2001,2002 Nedko Arnaudov <nedko@users.sourceforge.net>
5 //
6 // This program is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 2 of the License, or
9 // (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #ifndef _RUN_DIALOG_H__70660b7b_3732_4819_adfc_3949db2a78e8__INCLUDED
21 #define _RUN_DIALOG_H__70660b7b_3732_4819_adfc_3949db2a78e8__INCLUDED
23 #define MAX_FILENAME_SIZE 10240
25 #include "MRU.h"
27 class CRunDialog
29 public:
30 CRunDialog(const char *pszDefault = "cmd");
31 ~CRunDialog();
32 const char * DoModal(HWND hwnd);
33 private:
34 static int __stdcall DialogProc(HWND hwndDlg, UINT nMsg, WPARAM wParam, LPARAM lParam);
35 char m_FilenameBuffer[MAX_FILENAME_SIZE];
36 CMRUList *m_pMRU;
39 #endif // ifndef _RUN_DIALOG_H__70660b7b_3732_4819_adfc_3949db2a78e8__INCLUDED