source: trunk/gsdl/src/library/locateinfo.cpp@ 4

Last change on this file since 4 was 4, checked in by sjboddie, 25 years ago

Initial revision

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1#include "locateinfo.h"
2
3void getindexsuffix (const text_t &index,
4 const text_t &collection,
5 text_t &ttidxsuffix)
6{
7 ttidxsuffix = "collect";
8
9#ifdef __WIN32__
10 ttidxsuffix += "\\";
11#else
12 ttidxsuffix += "/";
13#endif
14
15 ttidxsuffix += collection;
16
17#ifdef __WIN32__
18 ttidxsuffix += "\\index\\";
19#else
20 ttidxsuffix += "/index/";
21#endif
22
23// ttidxsuffix += collection; //this changed with new build software
24 ttidxsuffix += index;
25#ifdef __WIN32__
26 ttidxsuffix += "\\";
27#else
28 ttidxsuffix += "/";
29#endif
30 ttidxsuffix += collection;
31}
32
33void gettextsuffix (const text_t &collection,
34 text_t &tttxtsuffix)
35{
36 tttxtsuffix = "collect";
37
38#ifdef __WIN32__
39 tttxtsuffix += "\\";
40#else
41 tttxtsuffix += "/";
42#endif
43
44 tttxtsuffix += collection;
45
46#ifdef __WIN32__
47 tttxtsuffix += "\\index\\";
48#else
49 tttxtsuffix += "/index/";
50#endif
51
52// tttxtsuffix += collection; // path changed with new building software - Stefan.
53 tttxtsuffix += "text";
54#ifdef __WIN32__
55 tttxtsuffix += "\\";
56#else
57 tttxtsuffix += "/";
58#endif
59 tttxtsuffix += collection;
60}
Note: See TracBrowser for help on using the repository browser.