terminal/src/tsf/TfCatUtil.h

39 lines
617 B
C++

/*++
Copyright (c) Microsoft Corporation.
Licensed under the MIT license.
Module Name:
TfCatUtil.h
Abstract:
This file defines the CicCategoryMgr Class.
Author:
Revision History:
Notes:
--*/
#pragma once
class CicCategoryMgr
{
public:
CicCategoryMgr();
virtual ~CicCategoryMgr();
public:
[[nodiscard]] HRESULT GetGUIDFromGUIDATOM(TfGuidAtom guidatom, GUID* pguid);
[[nodiscard]] HRESULT InitCategoryInstance();
inline ITfCategoryMgr* GetCategoryMgr() { return m_pcat.get(); }
private:
wil::com_ptr_nothrow<ITfCategoryMgr> m_pcat;
};