Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiacalendar
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added iCalendar Alarm Component Load unit test to the menu.
[xestiacalendar/.git]
/
source
/
common
/
file.cpp
1
#include "file.h"
2
3
using namespace std;
4
5
bool FileExists(std::string Filename){
6
7
#if defined (__WIN32__)
8
9
#else
10
11
const char *FilenameChar = Filename.c_str();
12
13
int rescode = access(FilenameChar, R_OK);
14
15
if (errno == ENOENT){
16
return false;
17
}
18
19
#endif
20
21
return true;
22
23
}
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy