windows-nt/Source/XPSP1/NT/base/win32/fusion/appweek/uimgr/cuimgr.h

41 lines
766 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*
*/
#pragma once
#include "iuimgr.h"
#include "iuiview.h"
#include <vector>
class __declspec(uuid(CLSID_CSxApwUiManager_declspec_uuid))
CSxApwUiManager
:
public ATL::CComObjectRootEx<CComSingleThreadModel>,
public ATL::CComCoClass<CSxApwUiManager, &__uuidof(CSxApwUiManager)>,
public ISxApwUiManager
{
typedef std::vector<ATL::CAdapt<ATL::CComPtr<ISxApwUiView> > > Views_t;
Views_t m_views;
public:
CSxApwUiManager() { }
BEGIN_COM_MAP(CSxApwUiManager)
COM_INTERFACE_ENTRY(ISxApwUiManager)
END_COM_MAP()
DECLARE_NO_REGISTRY();
HRESULT STDMETHODCALLTYPE
CreateView(
PCWSTR type,
HWND hWnd
);
HRESULT STDMETHODCALLTYPE
NextRow(
int nColumns,
const LPCWSTR* columns
);
};