Last change
on this file since 43 was 32, checked in by sjboddie, 26 years ago |
Altered existing collections (gberg, unu, unesco and hdl) to fit in
with new dirctory structure.
Altered browse software - put most of contents of collections browse.cpp
files (e.g. hdlbrowse.cpp) into browse.cpp
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | #include "locateinfo.h"
|
---|
2 |
|
---|
3 | void getindexsuffix (const text_t &index,
|
---|
4 | const text_t &collection,
|
---|
5 | text_t &ttidxsuffix)
|
---|
6 | {
|
---|
7 |
|
---|
8 | // new directory structure
|
---|
9 | // ttidxsuffix = "collect";
|
---|
10 |
|
---|
11 | //#ifdef __WIN32__
|
---|
12 | //ttidxsuffix += "\\";
|
---|
13 | //#else
|
---|
14 | //ttidxsuffix += "/";
|
---|
15 | //#endif
|
---|
16 |
|
---|
17 | //ttidxsuffix += collection;
|
---|
18 |
|
---|
19 |
|
---|
20 | #ifdef __WIN32__
|
---|
21 | ttidxsuffix += "\\index\\";
|
---|
22 | #else
|
---|
23 | ttidxsuffix += "/index/";
|
---|
24 | #endif
|
---|
25 |
|
---|
26 | // ttidxsuffix += collection; //this changed with new build software
|
---|
27 | ttidxsuffix += index;
|
---|
28 | #ifdef __WIN32__
|
---|
29 | ttidxsuffix += "\\";
|
---|
30 | #else
|
---|
31 | ttidxsuffix += "/";
|
---|
32 | #endif
|
---|
33 | ttidxsuffix += collection;
|
---|
34 | }
|
---|
35 |
|
---|
36 | void gettextsuffix (const text_t &collection,
|
---|
37 | text_t &tttxtsuffix)
|
---|
38 | {
|
---|
39 | // new directory structure
|
---|
40 | // tttxtsuffix = "collect";
|
---|
41 |
|
---|
42 | //#ifdef __WIN32__
|
---|
43 | //tttxtsuffix += "\\";
|
---|
44 | //#else
|
---|
45 | //tttxtsuffix += "/";
|
---|
46 | //#endif
|
---|
47 |
|
---|
48 | //tttxtsuffix += collection;
|
---|
49 |
|
---|
50 | #ifdef __WIN32__
|
---|
51 | tttxtsuffix += "\\index\\";
|
---|
52 | #else
|
---|
53 | tttxtsuffix += "/index/";
|
---|
54 | #endif
|
---|
55 |
|
---|
56 | // tttxtsuffix += collection; // path changed with new building software - Stefan.
|
---|
57 | tttxtsuffix += "text";
|
---|
58 | #ifdef __WIN32__
|
---|
59 | tttxtsuffix += "\\";
|
---|
60 | #else
|
---|
61 | tttxtsuffix += "/";
|
---|
62 | #endif
|
---|
63 | tttxtsuffix += collection;
|
---|
64 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.