mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 16:53:05 +00:00
[CTFMON][MSCTF][MSCTFIME][MSUTB] Move CTF modules to base/ctf (#8040)
This PR reorganizes the location of the CTF-related modules to improve grep-ability, understanding, and readability. New folder base/ctf will become incomplete Cicero, CTF or TSF (Text Services Framework). JIRA issue: CORE-19360 JIRA issue: CORE-19361 JIRA issue: CORE-19363 - Move ctfmon, msctf, msctfime, and msutb modules to new directory base/ctf. - Adapt CMakeLists.txt to this move. - Modify .github/labeler.yml and media/doc/WINESYNC.txt. - No code content changes except CMakeLists.txt, .github/labeler.yml, and media/doc/WINESYNC.txt.
This commit is contained in:
parent
2a0d98c2bc
commit
d4c64771cd
77 changed files with 9 additions and 11 deletions
53
base/ctf/msctfime/profile.h
Normal file
53
base/ctf/msctfime/profile.h
Normal file
|
@ -0,0 +1,53 @@
|
|||
/*
|
||||
* PROJECT: ReactOS msctfime.ime
|
||||
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
||||
* PURPOSE: Profile of msctfime.ime
|
||||
* COPYRIGHT: Copyright 2024 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "sinks.h"
|
||||
|
||||
class CicProfile : public IUnknown
|
||||
{
|
||||
protected:
|
||||
ITfInputProcessorProfiles *m_pIPProfiles;
|
||||
CActiveLanguageProfileNotifySink *m_pActiveLanguageProfileNotifySink;
|
||||
LANGID m_LangID1;
|
||||
WORD m_padding1;
|
||||
DWORD m_dwFlags;
|
||||
UINT m_nCodePage;
|
||||
LANGID m_LangID2;
|
||||
WORD m_padding2;
|
||||
DWORD m_dwUnknown1;
|
||||
LONG m_cRefs;
|
||||
|
||||
static INT CALLBACK
|
||||
ActiveLanguageProfileNotifySinkCallback(
|
||||
REFGUID rguid1,
|
||||
REFGUID rguid2,
|
||||
BOOL fActivated,
|
||||
LPVOID pUserData);
|
||||
|
||||
public:
|
||||
CicProfile();
|
||||
virtual ~CicProfile();
|
||||
|
||||
// IUnknown interface
|
||||
STDMETHODIMP QueryInterface(REFIID riid, LPVOID* ppvObj) override;
|
||||
STDMETHODIMP_(ULONG) AddRef() override;
|
||||
STDMETHODIMP_(ULONG) Release() override;
|
||||
|
||||
HRESULT
|
||||
GetActiveLanguageProfile(
|
||||
_In_ HKL hKL,
|
||||
_In_ REFGUID rguid,
|
||||
_Out_ TF_LANGUAGEPROFILE *pProfile);
|
||||
HRESULT GetLangId(_Out_ LANGID *pLangID);
|
||||
HRESULT GetCodePageA(_Out_ UINT *puCodePage);
|
||||
|
||||
HRESULT InitProfileInstance(_Inout_ TLS *pTLS);
|
||||
|
||||
BOOL IsIME(HKL hKL);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue