windows-nt/Source/XPSP1/NT/shell/ext/taskui/page.h

35 lines
973 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
// Page.h: interface for the TaskPage class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PAGE_H__4E334889_E550_4C84_9C9D_5E8DE8DA11D2__INCLUDED_)
#define AFX_PAGE_H__4E334889_E550_4C84_9C9D_5E8DE8DA11D2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "TaskUI.h"
class TaskPage : public HWNDElement
{
public:
static HRESULT Create(Element**) { return E_NOTIMPL; } // Required for ClassInfo
static HRESULT Create(REFCLSID rclsidPage, HWND hParent, OUT TaskPage** ppElement);
virtual ~TaskPage() { ATOMICRELEASE(_pTaskPage); }
const CLSID& GetID() const { return _idPage; }
HRESULT CreateContent(ITaskPage* pPage);
HRESULT Reinitialize();
protected:
TaskPage(REFCLSID rclsidPage) : _idPage(rclsidPage), _pTaskPage(NULL) {}
private:
CLSID _idPage;
ITaskPage *_pTaskPage;
};
#endif // !defined(AFX_PAGE_H__4E334889_E550_4C84_9C9D_5E8DE8DA11D2__INCLUDED_)