/** * Copyright (C) 2016 Aaron Ball * * Noteless is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Noteless is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with noteless. If not, see . */ using namespace std; #include #include #include #include #include #ifndef LIB_PATH_H #define LIB_PATH_H class path { public: string value; string filename; char type; char delim; vector dirs; path(); path( string ); bool exists(); int create(); int is_dir(); int append(string); string basename(); string out(); }; #endif