ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/main_Be.h
(Generate patch)

Comparing Frodo4/Src/main_Be.h (file contents):
Revision 1.4 by cebix, 2003-07-09T13:54:22Z vs.
Revision 1.8 by cebix, 2005-06-27T19:55:48Z

# Line 1 | Line 1
1   /*
2   *  main_Be.h - Main program, BeOS specific stuff
3   *
4 < *  Frodo (C) 1994-1997,2002-2003 Christian Bauer
4 > *  Frodo (C) 1994-1997,2002-2005 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 357 | Line 357 | public:
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-2005");
363                  MovePenTo(204, 87);
364                  DrawString("Freely distributable.");
365          }
# Line 388 | Line 388 | void Frodo::AboutRequested(void)
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 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines