357 |
|
MovePenTo(204, 40); |
358 |
|
DrawString("by Christian Bauer"); |
359 |
|
MovePenTo(204, 52); |
360 |
< |
DrawString("<cbauer@iphcip1.physik.uni-mainz.de>"); |
360 |
> |
DrawString("<Christian.Bauer@uni-mainz.de>"); |
361 |
|
MovePenTo(204, 75); |
362 |
< |
DrawString(B_UTF8_COPYRIGHT " Copyright 1994-1997"); |
362 |
> |
DrawString(B_UTF8_COPYRIGHT " Copyright 1994-1997,2002-2004"); |
363 |
|
MovePenTo(204, 87); |
364 |
|
DrawString("Freely distributable."); |
365 |
|
} |
388 |
|
{ |
389 |
|
new AboutWindow(); |
390 |
|
} |
391 |
+ |
|
392 |
+ |
|
393 |
+ |
/* |
394 |
+ |
* Determine whether path name refers to a directory |
395 |
+ |
*/ |
396 |
+ |
|
397 |
+ |
bool IsDirectory(const char *path) |
398 |
+ |
{ |
399 |
+ |
struct stat st; |
400 |
+ |
return stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode); |
401 |
+ |
} |