Back to index

lightning-sunbird  0.9+nobinonly
ScannerThread.cpp
Go to the documentation of this file.
00001 // ScannerThread.cpp : implementation file
00002 //
00003 
00004 #include "stdafx.h"
00005 #include "iepatcher.h"
00006 #include "ScannerThread.h"
00007 
00008 #ifdef _DEBUG
00009 #define new DEBUG_NEW
00010 #undef THIS_FILE
00011 static char THIS_FILE[] = __FILE__;
00012 #endif
00013 
00015 // CScannerThread
00016 
00017 IMPLEMENT_DYNCREATE(CScannerThread, CWinThread)
00018 
00019 CScannerThread::CScannerThread()
00020 {
00021 }
00022 
00023 CScannerThread::~CScannerThread()
00024 {
00025 }
00026 
00027 BOOL CScannerThread::InitInstance()
00028 {
00029        m_cScannerWnd.Create(AfxRegisterWndClass(0), _T("Scanner"), 0L, CRect(0, 0, 0, 0), AfxGetMainWnd(), 1);
00030        return TRUE;
00031 }
00032 
00033 int CScannerThread::ExitInstance()
00034 {
00035        // TODO:  perform any per-thread cleanup here
00036        return CWinThread::ExitInstance();
00037 }
00038 
00039 BEGIN_MESSAGE_MAP(CScannerThread, CWinThread)
00040        //{{AFX_MSG_MAP(CScannerThread)
00041               // NOTE - the ClassWizard will add and remove mapping macros here.
00042        //}}AFX_MSG_MAP
00043 END_MESSAGE_MAP()
00044 
00046 // CScannerThread message handlers