OSDN Git Service

Use the reg command to import/export properties
[xkeymacs/xkeymacs.git] / xkeymacs / AppList.h
1 #pragma once\r
2 #include "properties.h"\r
3 #include <TlHelp32.h>\r
4 \r
5 class AppList\r
6 {\r
7 public:\r
8         static void SetAppList(CProperties& properties);\r
9 private:\r
10         static void GetProcesses(std::vector<PROCESSENTRY32>& list);\r
11         static BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam);\r
12         static void AddIMEInfo(CProperties& cProperties);\r
13         static CString GetAppTitle(TCHAR (&windowText)[WINDOW_TEXT_LENGTH], TCHAR (&appName)[CLASS_NAME_LENGTH]);\r
14         static bool GetNthSegment(const CString& windowName, CString& part, int nth);\r
15 };\r
16 \r