xbmc
xbmc
platform
win32
WindowHelper.h
1
/*
2
* Copyright (C) 2005-2018 Team Kodi
3
* This file is part of Kodi - https://kodi.tv
4
*
5
* SPDX-License-Identifier: GPL-2.0-or-later
6
* See LICENSES/README.md for more information.
7
*/
8
9
#pragma once
10
11
#include "threads/Thread.h"
12
13
class
CWHelper
:
public
CThread
14
{
15
public
:
16
CWHelper
(
void
);
17
virtual
~
CWHelper
(
void
);
18
19
virtual
void
OnStartup();
20
virtual
void
OnExit();
21
virtual
void
Process();
22
23
void
SetHWND(HWND hwnd);
24
void
SetHANDLE(
HANDLE
hProcess);
25
26
private
:
27
HWND m_hwnd;
28
HANDLE
m_hProcess;
29
30
};
31
32
extern
CWHelper
g_windowHelper;
CXHandle
Definition:
XHandle.h:21
CThread
Definition:
Thread.h:44
CWHelper
Definition:
WindowHelper.h:13
Generated by
1.8.13