Page MenuHomePhabricator (Chris)

main.cpp
No OneTemporary

Authored By
Unknown
Size
580 B
Referenced Files
None
Subscribers
None

main.cpp

#include <r-tech1/init.h>
#include <r-tech1/debug.h>
#include <r-tech1/file-system.h>
Filesystem::AbsolutePath Filesystem::configFile(){
return Filesystem::AbsolutePath("config");
}
Filesystem::AbsolutePath Filesystem::userDirectory(){
return Filesystem::AbsolutePath("/tmp");
}
int main(int argc, char ** argv){
Global::InitConditions conditions;
Global::debug(0) << "Starting up r-tech1..." << std::endl;
Global::init(conditions);
Global::debug(0) << "Done! Exiting..." << std::endl;
Global::close();
return 0;
}

File Metadata

Mime Type
text/x-c
Expires
Sun, Nov 15, 12:31 AM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
136771
Default Alt Text
main.cpp (580 B)

Event Timeline