;Display Control plugin for Miranda. Turns on the screen if in power saving mode, when a message arives ;Copyright © 2006-2007 A. Chilaru ; ;This program is free software; you can redistribute it and/or ;modify it under the terms of the GNU General Public License ;as published by the Free Software Foundation; either version 2 ;of the License, or (at your option) any later version. ; ;This program is distributed in the hope that it will be useful, ;but WITHOUT ANY WARRANTY; without even the implied warranty of ;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;GNU General Public License for more details. ; ;You should have received a copy of the GNU General Public License ;along with this program; if not, write to the Free Software ;Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. DBCONTACTGETSETTING struct szModule dd ? szSetting dd ? pValue dd ? DBCONTACTGETSETTING ends DBCONTACTWRITESETTING struct szModule dd ? szSetting dd ? VAR1 dd ? VAR2 dd ? VAR3 dd ? DBCONTACTWRITESETTING ends DBVT_DELETED equ 0 ;this setting just got deleted, no other values are valid DBVT_BYTE equ 1 ;bVal and cVal are valid DBVT_WORD equ 2 ;wVal and sVal are valid DBVT_DWORD equ 4 ;dVal and lVal are valid DBVT_ASCIIZ equ 255 ;pszVal is valid DBVT_BLOB equ 254 ;cpbVal and pbVal are valid DBVT_UTF8 equ 253 ;pszVal is valid DBVT_WCHAR equ 252 ;pszVal is valid DBVTF_VARIABLELENGTH equ 80h DBVARIANT struct VAR1 dd ? VAR2 dd ? VAR3 dd ? DBVARIANT ends DBEVENTINFO struct cbSize dd ? szModule dd ? timestamp dd ? flags dd ? eventType dd ? cbBlob dd ? pBlob dd ? DBEVENTINFO ends EVENTTYPE_MESSAGE equ 0 EVENTTYPE_URL equ 1 EVENTTYPE_CONTACTS equ 2 ;v0.1.2.2+ EVENTTYPE_ADDED equ 1000 ;v0.1.1.0+: these used to be module- EVENTTYPE_AUTHREQUEST equ 1001 ;specific codes, hence the module- EVENTTYPE_FILE equ 1002 ;specific limit has been raised to 2000