OSDN Git Service

3cee61bb27959445451e5688be3c57f68fa90eec
[xkeymacs/xkeymacs.git] / xkeymacsdll / Utils.h
1 // Utils.h: interface for the CUtils class.\r
2 //\r
3 //////////////////////////////////////////////////////////////////////\r
4 \r
5 #if !defined(AFX_UTILS_H__D64BCD3F_F2E2_41F7_AD58_0F32E2D46942__INCLUDED_)\r
6 #define AFX_UTILS_H__D64BCD3F_F2E2_41F7_AD58_0F32E2D46942__INCLUDED_\r
7 \r
8 #if _MSC_VER > 1000\r
9 #pragma once\r
10 #endif // _MSC_VER > 1000\r
11 \r
12 #include "AppName.h"\r
13 \r
14 class AFX_EXT_CLASS CUtils  \r
15 {\r
16 public:\r
17         static bool IsConsole();\r
18         static int GetWindowTextType(const CString& text);\r
19         static bool IsMatchWindowText(const CString& text);\r
20         static BOOL GetFindDialogTitle(CString *szDialogTitle);\r
21         static BOOL IsAtok();\r
22         static BOOL IsLunascape();\r
23         static BOOL IsThunderbird();\r
24         static BOOL IsOpenJane();\r
25         static BOOL IsVisualSlickEdit();\r
26         static BOOL IsMSDN();\r
27         static BOOL IsJavaW();\r
28         static BOOL Run(CString szCommandLine, BOOL isWait = FALSE);\r
29         static BOOL IsBorlandCppBuilder();\r
30         static BOOL IsLispWorksPersonalEdition();\r
31         static BOOL IsTeraPad();\r
32         static BOOL IsPHPEditor();\r
33         static BOOL IsFirefox();\r
34         static BOOL IsPdksh();\r
35         static BOOL IsZsh();\r
36         static BOOL IsTcsh();\r
37         static BOOL IsezHTML();\r
38         static BOOL IsIPMessenger();\r
39         static BOOL IsDana();\r
40         static BOOL IsJmEditor();\r
41         static BOOL IsEdLeaf();\r
42         static BOOL IsShuriken();\r
43         static BOOL IsAutla();\r
44         static BOOL OpenClipboard();\r
45         static BOOL IsOedit();\r
46         static BOOL IsTuruKameMail();\r
47         static BOOL IsOpenOffice();\r
48         static BOOL IsAdobeReader();\r
49         static BOOL IsHusen();\r
50         static BOOL IsTOF();\r
51         static BOOL IsEOF();\r
52         static BOOL IsCorelDRAW();\r
53         static BOOL IsNami2000();\r
54         static BOOL IsStoryEditor();\r
55         static BOOL IseMemoPad();\r
56         static BOOL IsCodeWarrior();\r
57         static BOOL IsVisualBasicEditor();\r
58         static BOOL IsEudora();\r
59         static BOOL IsDialog();\r
60         static BOOL IsEclipse();\r
61         static BOOL IsFindDialog();\r
62         static BOOL IsVisualBasic();\r
63         static BOOL IsProject();\r
64         static BOOL IsAccess();\r
65         static BOOL IsVisualStudio();\r
66         static BOOL IsCsh();\r
67         static BOOL IsSh();\r
68         static BOOL IsBash();\r
69         static void Log(LPCTSTR fmt, ...);\r
70         static BOOL IsSleipnir();\r
71         static BOOL IsPaint();\r
72         static BOOL IsReget();\r
73         static BOOL IsMicrosoftPowerPoint();\r
74         static BOOL IsIllustrator();\r
75         static BOOL IsPhotoshop();\r
76         static BOOL IsFlash();\r
77         static BOOL IsDreamweaver();\r
78         static BOOL IsFireworks();\r
79         static BOOL IsExcel();\r
80         static BOOL IsDirector();\r
81         static BOOL IsEggExplorer();\r
82         static BOOL IsK2Editor();\r
83         static BOOL IsDWFM();\r
84         static BOOL IsDefaultIgnoreApplication();\r
85         static BOOL IsXWin();\r
86         static BOOL IsEmacs();\r
87         static BOOL SetClipboardText(const CString& text);\r
88         static BOOL GetClipboardText(CString& text);\r
89         static BOOL IsXyzzy();\r
90         static BOOL IsWordpad();\r
91         static BOOL IsVisualCpp();\r
92         static BOOL IsTeraTermPro();\r
93         static BOOL IsSakuraEditor();\r
94         static BOOL IsOutlookExpress();\r
95         static BOOL IsOutlook();\r
96         static BOOL IsOpera();\r
97         static BOOL IsNotepad();\r
98         static BOOL IsNotepadPP();\r
99         static BOOL IsNetscape();\r
100         static BOOL IsMuleForWin32();\r
101         static BOOL IsMozilla();\r
102         static BOOL IsMicrosoftWord();\r
103         static BOOL IsMicrosoftFrontPage();\r
104         static BOOL IsMeadow();\r
105         static BOOL IsLotusWordPro();\r
106         static BOOL IsLotusNotes();\r
107         static BOOL IsLotus123();\r
108         static BOOL IsInternetExplorer();\r
109         static BOOL IsHidemaru();\r
110         static BOOL IsExplorer();\r
111         static BOOL IsBecky();\r
112         static BOOL IsAstecX();\r
113         static BOOL IsXkeymacs();\r
114         static BOOL IsChrome();\r
115 private:\r
116         static BOOL IsTOForEOF();\r
117 };\r
118 \r
119 #endif // !defined(AFX_UTILS_H__D64BCD3F_F2E2_41F7_AD58_0F32E2D46942__INCLUDED_)\r