~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/embedding/browser/activex/tests/IEPatcher/ScannerThread.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ScannerThread.cpp : implementation file
 
2
//
 
3
 
 
4
#include "stdafx.h"
 
5
#include "iepatcher.h"
 
6
#include "ScannerThread.h"
 
7
 
 
8
#ifdef _DEBUG
 
9
#define new DEBUG_NEW
 
10
#undef THIS_FILE
 
11
static char THIS_FILE[] = __FILE__;
 
12
#endif
 
13
 
 
14
/////////////////////////////////////////////////////////////////////////////
 
15
// CScannerThread
 
16
 
 
17
IMPLEMENT_DYNCREATE(CScannerThread, CWinThread)
 
18
 
 
19
CScannerThread::CScannerThread()
 
20
{
 
21
}
 
22
 
 
23
CScannerThread::~CScannerThread()
 
24
{
 
25
}
 
26
 
 
27
BOOL CScannerThread::InitInstance()
 
28
{
 
29
        m_cScannerWnd.Create(AfxRegisterWndClass(0), _T("Scanner"), 0L, CRect(0, 0, 0, 0), AfxGetMainWnd(), 1);
 
30
        return TRUE;
 
31
}
 
32
 
 
33
int CScannerThread::ExitInstance()
 
34
{
 
35
        // TODO:  perform any per-thread cleanup here
 
36
        return CWinThread::ExitInstance();
 
37
}
 
38
 
 
39
BEGIN_MESSAGE_MAP(CScannerThread, CWinThread)
 
40
        //{{AFX_MSG_MAP(CScannerThread)
 
41
                // NOTE - the ClassWizard will add and remove mapping macros here.
 
42
        //}}AFX_MSG_MAP
 
43
END_MESSAGE_MAP()
 
44
 
 
45
/////////////////////////////////////////////////////////////////////////////
 
46
// CScannerThread message handlers