diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-29 06:47:37 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-29 06:47:37 +0000 |
commit | 4a38e2b5de9f41f8bb3fa74457f98b2b69b9d56c (patch) | |
tree | 16f6eb44c346276721a92d257a7f9fc3779e1d5e /include | |
parent | 55d1905cffff485f577d49654a18362cbcfb61ec (diff) |
added ability to restart with current profile
git-svn-id: http://svn.miranda-ng.org/main/trunk@3328 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_system.inc | 3 | ||||
-rw-r--r-- | include/m_system.h | 3 |
2 files changed, 4 insertions, 2 deletions
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
|