/* */ #pragma once #include "iuimgr.h" #include "iuiview.h" #include class __declspec(uuid(CLSID_CSxApwUiManager_declspec_uuid)) CSxApwUiManager : public ATL::CComObjectRootEx, public ATL::CComCoClass, public ISxApwUiManager { typedef std::vector > > 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 ); };