From cb4a46e7fbe62d788e66ed6121c717a2d22a4d7c Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 21 Apr 2011 14:14:52 +0000 Subject: svn.miranda.im is moving to a new home! git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@7 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- delphi/Awkward/include/reserve/m_alocale.inc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 delphi/Awkward/include/reserve/m_alocale.inc (limited to 'delphi/Awkward/include/reserve/m_alocale.inc') diff --git a/delphi/Awkward/include/reserve/m_alocale.inc b/delphi/Awkward/include/reserve/m_alocale.inc new file mode 100644 index 0000000..fd026ef --- /dev/null +++ b/delphi/Awkward/include/reserve/m_alocale.inc @@ -0,0 +1,23 @@ +{ +Header file for Miranda plugin developers, which allows you to use AutoLocale with your windowed +plugins. Just call service function "AutoLocale/ChangeLocale" + +Author Ni4 (Nickolay L. Olshevsky) , Kiev, Ukraine. +All suggestions, wishes, bug reports please send to dark.ni4@ukr.net. +} +{$IFNDEF M_AUTOLOCALE} +{$DEFINE M_AUTOLOCALE} +{ + Now here is only one function, which allows you to change locale for current user. + Must be called on WM_ACTIVATE message, for windows which represents messaging sessions. + + Parameters: + wParam - (WPARAM) of contact identifier in database. + lParam - doesn't matter. + + Return values: + last watched user handle. +} +const + MS_AUTOLOCALE_CHANGELOCALE = 'AutoLocale/ChangeLocale'; +{$ENDIF} -- cgit v1.2.3