// // aegis - project change supervisor // Copyright (C) 2001, 2002, 2005, 2006, 2008, 2014 Peter Miller // // This program 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. // // This program 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 this program. If not, see . // #ifndef AEIMPORT_FORMAT_SCCS_H #define AEIMPORT_FORMAT_SCCS_H #include class format_sccs: public format { public: virtual ~format_sccs(); static pointer create(void); protected: // See base class for documentation. bool valid(void) const; // See base class for documentation. nstring history_get(void); // See base class for documentation. nstring history_put(void); // See base class for documentation. nstring history_query(void); // See base class for documentation. nstring diff(void); // See base class for documentation. nstring merge(void); // See base class for documentation. void unlock(const nstring &filename); // See base class for documentation. nstring sanitize(const nstring &filename, bool do_last); // See base class for documentation. bool is_a_candidate(const nstring &filename); // See base class for documentation. format_version *read_versions(const nstring &physical, const nstring &logical); private: /** * The default constructor. * It is private on purpose, use the #create vlass method instead. */ format_sccs(); }; #endif // AEIMPORT_FORMAT_SCCS_H // vim: set ts=8 sw=4 et :