From 4a38e2b5de9f41f8bb3fa74457f98b2b69b9d56c Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 29 Jan 2013 06:47:37 +0000 Subject: added ability to restart with current profile git-svn-id: http://svn.miranda-ng.org/main/trunk@3328 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_system.inc | 3 ++- include/m_system.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/delphi/m_system.inc b/include/delphi/m_system.inc index 45f1fc818e..a59723bc05 100644 --- a/include/delphi/m_system.inc +++ b/include/delphi/m_system.inc @@ -56,7 +56,8 @@ const ME_SYSTEM_SHUTDOWN:PAnsiChar = 'Miranda/System/Shutdown'; { restarts miranda ( 0.8+ ) - wParam=lParam=0 + wParam=0 or 1. 1 - restart with current profile, 0 - restart in default profile or profile manager + lParam=0 } MS_SYSTEM_RESTART:PAnsiChar = 'Miranda/System/Restart'; diff --git a/include/m_system.h b/include/m_system.h index 4347c7a962..75638261a5 100644 --- a/include/m_system.h +++ b/include/m_system.h @@ -66,7 +66,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define ME_SYSTEM_SHUTDOWN "Miranda/System/Shutdown" //restarts miranda (0.8+) -//wParam = lParam = 0 +//wParam = 0 or 1. 1 - restart with current profile, 0 - restart in default profile or profile manager +//lParam = 0 #define MS_SYSTEM_RESTART "Miranda/System/Restart" //miranda/system/oktoexit event -- cgit v1.2.3