4 * @brief WinMerge constants, URLs, paths etc.
9 /** @brief URL for hyperlink in About-dialog. */
10 const TCHAR WinMergeURL[] = _T("http://winmerge.org/");
13 * @brief URL to help index in internet.
14 * We use internet help when local help file is not found (not installed).
16 const TCHAR DocsURL[] = _T("http://manual.winmerge.org/index.html");
18 /** @brief URL to translations page in internet. */
19 const TCHAR TranslationsUrl[] = _T("http://winmerge.org/translations/");
21 /** @brief URL of the GPL license. */
22 const TCHAR LicenceUrl[] = _T("http://www.gnu.org/licenses/gpl-2.0.html");
24 /** @brief WinMerge download page URL. */
25 const TCHAR DownloadUrl[] = _T("http://winmerge.org/downloads/");
27 /** @brief Relative (to WinMerge executable ) path to local help file. */
28 const TCHAR DocsPath[] = _T("Docs/WinMerge.chm");
29 const TCHAR DocsPath_ja[] = _T("Docs/WinMerge_ja.chm");
31 /** @brief Contributors list. */
32 const TCHAR ContributorsPath[] = _T("contributors.txt");
34 /** @brief Release notes in HTML format. */
35 const TCHAR RelNotes[] = _T("Docs/ReleaseNotes.html");
37 /** @brief GPL Licence local file name. */
38 const TCHAR LicenseFile[] = _T("Copying");
40 /** @brief WinMerge folder in My Folders-folder. */
41 const TCHAR WinMergeDocumentsFolder[] = _T("WinMerge");
44 * @brief Default relative path to "My Documents" for private filters.
45 * We want to use WinMerge folder as general user-file folder in future.
46 * So it makes sense to have own subfolder for filters.
48 const TCHAR DefaultRelativeFilterPath[] = _T("WinMerge/Filters");
50 /** @brief Executable Filename for ANSI build. */
51 const TCHAR ExecutableFilename[] = _T("WinMerge.exe");
52 /** @brief Executable Filename for Unicode build. */
53 const TCHAR ExecutableFilenameU[] = _T("WinMergeU.exe");
55 /** @brief Temp folder name prefix for WinMerge temp folders. */
56 const TCHAR TempFolderPrefix[] = _T("WinMerge_TEMP_");
58 /** @brief registry dir to WinMerge */
59 const TCHAR RegDir[] = _T("Software\\Thingamahoochie\\WinMerge");
62 * @brief Flags used when opening files
66 FFILEOPEN_NONE = 0x0000,
67 FFILEOPEN_NOMRU = 0x0001, /**< Do not add this path to MRU list */
68 FFILEOPEN_READONLY = 0x0002, /**< Open this path as read-only */
69 FFILEOPEN_MODIFIED = 0x0004, /**< Mark file modified after opening. */
70 FFILEOPEN_CMDLINE = 0x0010, /**< Path is read from commandline */
71 FFILEOPEN_PROJECT = 0x0020, /**< Path is read from project-file */
72 FFILEOPEN_SETFOCUS = 0x0040, /**< Set focus to this pane */
73 FFILEOPEN_AUTOMERGE = 0x0080, /**< auto-merge at this pane */