51 else if (inputSource.
count()==1)
55 err(
"Cannot find directory %s. " 56 "Check the value of the INPUT tag in the configuration file.\n",
62 err(
"If you use USE_HTAGS then INPUT should specify a single directory.\n");
69 QCString commandLine =
" -g -s -a -n ";
70 if (!quiet) commandLine +=
"-v ";
71 if (warnings) commandLine +=
"-w ";
75 commandLine += htagsOptions;
79 commandLine +=
"-t \"";
80 commandLine += projectName;
84 commandLine += projectNumber;
88 commandLine +=
" \"" + htmldir +
"\"";
107 QCString fileMapName = htmlDir+
"/HTML/FILEMAP";
125 line.
at(maxlen)=
'\0';
133 int sep = line.
find(
'\t');
139 if (ext!=-1) value=value.
left(ext);
149 err(
"file %s cannot be opened\n",fileMapName.
data());
164 if ((
int)symName.
length()>dl+1)
166 symName = symName.
mid(dl+1);
Traverses directory structures and contents in a platform-independent way.
void portable_sysTimerStop()
QCString stripWhiteSpace() const
virtual void setPath(const QString &path)
int readLine(char *data, uint maxlen)
#define Config_getList(val)
QCString left(uint len) const
int find(char c, int index=0, bool cs=TRUE) const
virtual QString absPath() const
int findRev(char c, int index=-1, bool cs=TRUE) const
void portable_sysTimerStart()
static QString currentDirPath()
A bunch of utility functions.
const char * data() const
#define Config_getString(val)
#define Config_getBool(val)
void err(const char *fmt,...)
QCString mid(uint index, uint len=0xffffffff) const
The QFile class is an I/O device that operates on files.
void line(double t, double *p, double &x, double &y, double &z)
The QFileInfo class provides system-independent file information.
virtual bool exists() const
Portable versions of functions that are platform dependent.
static bool setCurrent(const QString &path)
int portable_system(const char *command, const char *args, bool commandHasConsole)