|
From: andrew7 <bd...@us...> - 2007-01-07 18:45:16
|
Update of /cvsroot/smartwin/SmartWin/include/smartwin In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv5242/include/smartwin Modified Files: Application.h Log Message: Allow resource based dialogs in a DLL: Add hInstance param to neededSWinit Index: Application.h =================================================================== RCS file: /cvsroot/smartwin/SmartWin/include/smartwin/Application.h,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- Application.h 18 Aug 2006 19:08:10 -0000 1.19 +++ Application.h 7 Jan 2007 18:45:08 -0000 1.20 @@ -52,6 +52,7 @@ #endif #endif +/// Contains all classes used in SmartWin namespace SmartWin { // begin namespace SmartWin @@ -115,6 +116,7 @@ LPSTR lpCmdLine, int nCmdShow ); #endif + friend class Widget; friend class MessageMapPolicyModalDialogWidget; friend std::list < Widget * > & private_::getApplicationWidgets(); @@ -168,7 +170,7 @@ /// The initialization that must be done first. /** Used internally by the WinMain function, and externally for DLL initialization. */ - static void neededSmartWinInit(); + static void neededSmartWinInit( HINSTANCE hInstance, int nCmdShow, const char * cmdLine ); /// Calls various leak and memory corruption routines. /** Used after the message loop completes in WinMain. |