tools/createsrc-templates/AsConsole/inc/SkeletonTemplate.h
author Tom Sutcliffe <thomas.sutcliffe@accenture.com>
Fri, 17 Sep 2010 20:24:30 +0100
changeset 75 3c3961c1ae26
parent 0 7f656887cf89
permissions -rw-r--r--
Fixed threadpool hang and added lots of smoketests. * Fixed bug in threadpool logic when calling CleanupAnyWorkersSharingAllocator - this was deleting the worker's thread death notifier in the context of a worker thread (which is only allowed from the context of the main thread). * Added lots more smoketests * Added --overwrite option to fzip (previously unzipping would always overwrite)

// SkeletonTemplate.h
//
// Copyright (c) 2010 Accenture. All rights reserved.
//

#ifndef SKELETONTEMPLATE_H__
#define SKELETONTEMPLATE_H__

class CSkeletonTemplate : public CActive
	{
public:
	static CSkeletonTemplate* NewLC(CConsoleBase& aConsole);
	static CSkeletonTemplate* NewL(CConsoleBase& aConsole);
	
	~CSkeletonTemplate();
	
	void Start();
	
	// from CActive:
	virtual void RunL();
	virtual void DoCancel();
private:
	CSkeletonTemplate(CConsoleBase& aConsole);
	void ConstructL();
private:
	CConsoleBase& iConsole;
	};


#endif //SKELETONTEMPLATE_H__