Anoncoin
0.9.4
P2P Digital Currency
Main Page
Namespaces
Classes
Files
File List
File Members
src
qt
winshutdownmonitor.h
Go to the documentation of this file.
1
// Copyright (c) 2014 The Bitcoin developers
2
// Copyright (c) 2013-2014 The Anoncoin Core developers
3
// Distributed under the MIT/X11 software license, see the accompanying
4
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6
#ifndef WINSHUTDOWNMONITOR_H
7
#define WINSHUTDOWNMONITOR_H
8
9
#ifdef WIN32
10
#include <QByteArray>
11
#include <QString>
12
13
#if QT_VERSION >= 0x050000
14
#include <windef.h>
// for HWND
15
16
#include <QAbstractNativeEventFilter>
17
18
class
WinShutdownMonitor :
public
QAbstractNativeEventFilter
19
{
20
public
:
22
bool
nativeEventFilter(
const
QByteArray &eventType,
void
*pMessage,
long
*pnResult);
23
25
static
void
registerShutdownBlockReason(
const
QString& strReason,
const
HWND& mainWinId);
26
};
27
#endif
28
#endif
29
30
#endif // WINSHUTDOWNMONITOR_H
Generated on Fri Feb 6 2015 10:48:15 for Anoncoin by
1.8.9.1