1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/other-licenses/7zstub/src/7zip/UI/Explorer/MyMessages.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +// MyMessages.h 1.5 + 1.6 +#ifndef __MYMESSAGES_H 1.7 +#define __MYMESSAGES_H 1.8 + 1.9 +#include "Common/String.h" 1.10 + 1.11 +void MyMessageBox(HWND window, LPCWSTR message); 1.12 + 1.13 +inline void MyMessageBox(LPCWSTR message) 1.14 + { MyMessageBox(0, message); } 1.15 + 1.16 +void MyMessageBox(UINT32 id 1.17 + #ifdef LANG 1.18 + ,UINT32 langID 1.19 + #endif 1.20 + ); 1.21 + 1.22 +void ShowErrorMessage(HWND window, DWORD errorMessage); 1.23 +inline void ShowErrorMessage(DWORD errorMessage) 1.24 + { ShowErrorMessage(0, errorMessage); } 1.25 +void ShowLastErrorMessage(HWND window = 0); 1.26 + 1.27 +#endif