synfig-studio  1.0.3
Public Member Functions | List of all members
synfigapp::CVSInfo Class Reference

#include <cvs.h>

Inheritance diagram for synfigapp::CVSInfo:
synfigapp::Instance studio::Instance

Public Member Functions

void calc_repository_info ()
 CVSInfo (const synfig::String &file_name)
 CVSInfo ()
 ~CVSInfo ()
void set_file_name (const synfig::String &file_name)
bool in_sandbox () const
 Returns TRUE if file_name is in a sandbox.
bool in_repository () const
 Returns TRUE if file_name is in the repository.
bool is_modified () const
 Returns TRUE if file_name has modifications not yet on the repository.
bool is_updated () const
 Returns TRUE if there is a new version of file_name on the repository.
const synfig::String & get_cvs_version () const
 Returns the CVS version string.
const time_t & get_original_timestamp () const
 Returns the unix timestamp of the repository file.
time_t get_current_timestamp () const
 Returns the unix timestamp of the checked out file.
synfig::String get_cvs_root () const
 Returns the Root.
synfig::String get_cvs_module () const
 Returns the name of the module.
void cvs_add (const synfig::String &message=synfig::String())
void cvs_update ()
void cvs_commit (const synfig::String &message=synfig::String())

Constructor & Destructor Documentation

CVSInfo::CVSInfo ( const synfig::String &  file_name)
CVSInfo::CVSInfo ( )
CVSInfo::~CVSInfo ( )

Member Function Documentation

void CVSInfo::calc_repository_info ( )
void CVSInfo::set_file_name ( const synfig::String &  file_name)

Reimplemented in synfigapp::Instance.

References calc_repository_info().

bool CVSInfo::in_sandbox ( ) const

Returns TRUE if file_name is in a sandbox.

Referenced by calc_repository_info(), and is_modified().

bool CVSInfo::in_repository ( ) const
bool CVSInfo::is_modified ( ) const
bool CVSInfo::is_updated ( ) const

Returns TRUE if there is a new version of file_name on the repository.

Referenced by studio::Instance::dialog_cvs_update(), and studio::CanvasView::update_title().

const synfig::String & CVSInfo::get_cvs_version ( ) const

Returns the CVS version string.

Referenced by calc_repository_info().

const time_t & CVSInfo::get_original_timestamp ( ) const

Returns the unix timestamp of the repository file.

Referenced by calc_repository_info(), studio::Instance::dialog_cvs_update(), and is_modified().

time_t CVSInfo::get_current_timestamp ( ) const

Returns the unix timestamp of the checked out file.

Referenced by calc_repository_info(), and is_modified().

synfig::String CVSInfo::get_cvs_root ( ) const

Returns the Root.

Referenced by calc_repository_info().

synfig::String CVSInfo::get_cvs_module ( ) const

Returns the name of the module.

Referenced by calc_repository_info().

void CVSInfo::cvs_add ( const synfig::String &  message = synfig::String())
void CVSInfo::cvs_update ( )
void CVSInfo::cvs_commit ( const synfig::String &  message = synfig::String())

The documentation for this class was generated from the following files: