103
|
1 |
// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// Support for logging to a WIN32 window
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
#include "../debuglog/_windows.h"
|
|
19 |
#include <e32def.h>
|
|
20 |
|
|
21 |
GLREF_C void CreateLogWinThreadL();
|
|
22 |
|
|
23 |
//GLREF_D struct HWND__ *Hwnd;
|
|
24 |
// static container for sharing data between Symbian & Windows threads
|
|
25 |
struct TSharedMemory
|
|
26 |
{
|
|
27 |
RSemaphore iStartSemaphore;
|
|
28 |
struct HWND__* iHwnd;
|
|
29 |
};
|
|
30 |
|
|
31 |
enum TWindowsUserMessage
|
|
32 |
{
|
|
33 |
EAppendText,
|
|
34 |
EScrollToPos
|
|
35 |
};
|