4 * @brief WinMerge constants, URLs, paths etc.
7 // ID line follows -- this is updated by SVN
8 // $Id: Constants.h 6729 2009-05-11 07:14:59Z kimmov $
13 /** @brief URL for hyperlink in About-dialog. */
14 const TCHAR WinMergeURL[] = _T("http://winmerge.org/");
17 * @brief URL to help index in internet.
18 * We use internet help when local help file is not found (not installed).
20 const TCHAR DocsURL[] = _T("http://manual.winmerge.org/index.html");
22 /** @brief URL to translations page in internet. */
23 const TCHAR TranslationsUrl[] = _T("http://winmerge.org/translations/");
25 /** @brief URL of the GPL license. */
26 const TCHAR LicenceUrl[] = _T("http://www.gnu.org/licenses/gpl-2.0.html");
28 /** @brief WinMerge download page URL. */
29 const TCHAR DownloadUrl[] = _T("http://winmerge.org/downloads/");
31 /** @brief Relative (to WinMerge executable ) path to local help file. */
32 const TCHAR DocsPath[] = _T("Docs/WinMerge.chm");
33 const TCHAR DocsPath_ja[] = _T("Docs/WinMerge_ja.chm");
35 /** @brief Contributors list. */
36 const TCHAR ContributorsPath[] = _T("contributors.txt");
38 /** @brief Release notes in HTML format. */
39 const TCHAR RelNotes[] = _T("Docs/ReleaseNotes.html");
41 /** @brief GPL Licence local file name. */
42 const TCHAR LicenseFile[] = _T("Copying");
44 /** @brief WinMerge folder in My Folders-folder. */
45 const TCHAR WinMergeDocumentsFolder[] = _T("WinMerge");
48 * @brief Default relative path to "My Documents" for private filters.
49 * We want to use WinMerge folder as general user-file folder in future.
50 * So it makes sense to have own subfolder for filters.
52 const TCHAR DefaultRelativeFilterPath[] = _T("WinMerge/Filters");
54 /** @brief Executable Filename for ANSI build. */
55 const TCHAR ExecutableFilename[] = _T("WinMerge.exe");
56 /** @brief Executable Filename for Unicode build. */
57 const TCHAR ExecutableFilenameU[] = _T("WinMergeU.exe");
59 /** @brief Temp folder name prefix for WinMerge temp folders. */
60 const TCHAR TempFolderPrefix[] = _T("WinMerge_TEMP_");
62 /** @brief registry dir to WinMerge */
63 const TCHAR RegDir[] = _T("Software\\Thingamahoochie\\WinMerge");
66 * @brief Flags used when opening files
70 FFILEOPEN_NONE = 0x0000,
71 FFILEOPEN_NOMRU = 0x0001, /**< Do not add this path to MRU list */
72 FFILEOPEN_READONLY = 0x0002, /**< Open this path as read-only */
73 FFILEOPEN_MODIFIED = 0x0004, /**< Mark file modified after opening. */
74 FFILEOPEN_CMDLINE = 0x0010, /**< Path is read from commandline */
75 FFILEOPEN_PROJECT = 0x0020, /**< Path is read from project-file */
78 #endif // _CONSTANTS_H_