diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-19 07:47:08 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-19 07:47:08 +0000 |
commit | a63798c1b60eeb77352323ad4545630cdc5458f2 (patch) | |
tree | e4503c80295e80e2bb7f2fce430c8f83e0fd9714 /plugins/Folders/docs | |
parent | b63b1e9d1c0e5d1edf1c5ae6d932b03184d6aef3 (diff) |
Folders: changed folder structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1032 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Folders/docs')
-rw-r--r-- | plugins/Folders/docs/folders-translation.txt | 19 | ||||
-rw-r--r-- | plugins/Folders/docs/rtf convert.bat | 1 | ||||
-rw-r--r-- | plugins/Folders/docs/rtf converter.exe | bin | 6656 -> 0 bytes | |||
-rw-r--r-- | plugins/Folders/docs/rtf converter/rtf converter.cpp | 103 | ||||
-rw-r--r-- | plugins/Folders/docs/variables help.doc | bin | 2449 -> 0 bytes |
5 files changed, 19 insertions, 104 deletions
diff --git a/plugins/Folders/docs/folders-translation.txt b/plugins/Folders/docs/folders-translation.txt new file mode 100644 index 0000000000..7cfa5d4437 --- /dev/null +++ b/plugins/Folders/docs/folders-translation.txt @@ -0,0 +1,19 @@ +; Common strings that belong to many files
+;[]
+
+; ../../plugins/Folders/folders.cpp
+;[Test folders]
+
+; ../../plugins/Folders/folders.rc
+;[Close]
+;[Custom folders]
+;[Custom folders variables help]
+;[Dialog]
+;[Edit]
+;[Preview]
+;[Refresh preview]
+;[Variables help]
+
+; ../../plugins/Folders/hooked_events.cpp
+;[Customize]
+;[Folders]
diff --git a/plugins/Folders/docs/rtf convert.bat b/plugins/Folders/docs/rtf convert.bat deleted file mode 100644 index 6a301622ab..0000000000 --- a/plugins/Folders/docs/rtf convert.bat +++ /dev/null @@ -1 +0,0 @@ -"rtf converter.exe" "variables help.doc" ".\folders\variablesHelp.inc"
\ No newline at end of file diff --git a/plugins/Folders/docs/rtf converter.exe b/plugins/Folders/docs/rtf converter.exe Binary files differdeleted file mode 100644 index f932bbca43..0000000000 --- a/plugins/Folders/docs/rtf converter.exe +++ /dev/null diff --git a/plugins/Folders/docs/rtf converter/rtf converter.cpp b/plugins/Folders/docs/rtf converter/rtf converter.cpp deleted file mode 100644 index 8d51c0d79a..0000000000 --- a/plugins/Folders/docs/rtf converter/rtf converter.cpp +++ /dev/null @@ -1,103 +0,0 @@ -#define _CRT_SECURE_NO_DEPRECATE
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#define MAX_PATH 260
-#define DEFAULT_OUTPUT "output.inc"
-
-void PrintUsage(char *programPath)
-{
- printf("Usage\n");
- printf("%s input.doc [output.inc]\n", programPath);
- printf("\nConverts a rtf text found in input.doc to a string that contains the rtf text and stores it in output.inc");
-}
-
-void Add(char *result, char *what)
-{
- strcat(result, what);
-}
-
-void Add(char *result, char chr)
-{
- int len = strlen(result);
- result[len++] = chr;
- result[len] = '\0';
-}
-
-void Convert(char *input, char *output)
-{
- int len = strlen(input);
- int i;
- output[0] = '\0';
- Add(output, '\"');
- for (i = 0; i < len; i++)
- {
- switch (input[i])
- {
- case '\"':
- Add(output, "\"\"");
- break;
- case '\\':
- Add(output, "\\\\");
- break;
- case '\n':
- Add(output, "\\n");
- break;
- default:
- Add(output, input[i]);
- }
- }
- Add(output, "\"\n");
-}
-
-void DoConversion(char *inFile, char *outFile)
-{
- FILE *fin = fopen(inFile, "rt");
- FILE *fout = fopen(outFile, "wt");
- char buffer[2048];
- char out[4096];
- if ((fin) && (fout))
- {
- while (!feof(fin))
- {
- fgets(buffer, sizeof(buffer), fin);
- if (strlen(buffer) > 0)
- {
- Convert(buffer, out);
- fputs(out, fout);
- }
- }
- }
- if (fin)
- {
- fclose(fin);
- }
- if (fout)
- {
- fclose(fout);
- }
-}
-
-int main(int argc, char *argv[])
-{
- char input[MAX_PATH];
- char output[MAX_PATH];
- if ((argc < 2) || (argc > 3))
- {
- PrintUsage(argv[0]);
- return 0;
- }
- strcpy(input, argv[1]);
- if (argc == 3)
- {
- strcpy(output, argv[2]);
- }
- else{
- strcpy(output, DEFAULT_OUTPUT);
- }
- DoConversion(input, output);
- return 0;
-}
-
diff --git a/plugins/Folders/docs/variables help.doc b/plugins/Folders/docs/variables help.doc Binary files differdeleted file mode 100644 index 5b9ba27a62..0000000000 --- a/plugins/Folders/docs/variables help.doc +++ /dev/null |