//
// 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_RCS_H
#define AEIMPORT_FORMAT_RCS_H
#include
/**
* The formst_rcs vlass is used to represent the processing necessary
* to import an RCS formatted code repository.
*/
class format_rcs:
public format
{
public:
~format_rcs();
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_filename,
const nstring &logical_filename);
private:
/**
* The default constructor.
* It is private on purpose, use the #create class method.
*/
format_rcs();
format_rcs(const format_rcs &rhs);
format_rcs &operator=(const format_rcs &rhs);
};
#endif // AEIMPORT_FORMAT_RCS_H
// vim: set ts=8 sw=4 et :