synfig-studio  1.0.3
Public Member Functions | Static Public Member Functions | List of all members
studio::AutoRecover Class Reference

#include <autorecover.h>

Public Member Functions

 AutoRecover ()
 ~AutoRecover ()
void set_timeout (int milliseconds)
int get_timeout () const
bool recovery_needed () const
bool recover (int &number_recovered)
void normal_shutdown ()
void clear_backup (synfig::Canvas::Handle canvas)

Static Public Member Functions

static int pid ()
static synfig::String get_shadow_file_name (const synfig::String &filename)
static bool auto_backup ()
static bool cleanup_pid (int pid)
static synfig::String get_shadow_directory ()

Constructor & Destructor Documentation

AutoRecover::AutoRecover ( )
AutoRecover::~AutoRecover ( )

Member Function Documentation

int AutoRecover::pid ( )
static
synfig::String AutoRecover::get_shadow_file_name ( const synfig::String &  filename)
static
bool AutoRecover::auto_backup ( )
static
bool AutoRecover::cleanup_pid ( int  pid)
static
void AutoRecover::set_timeout ( int  milliseconds)
int studio::AutoRecover::get_timeout ( ) const
inline
synfig::String AutoRecover::get_shadow_directory ( )
static
bool AutoRecover::recovery_needed ( ) const

Referenced by studio::App::App().

bool AutoRecover::recover ( int &  number_recovered)

Referenced by studio::App::App().

void AutoRecover::normal_shutdown ( )

Referenced by studio::App::quit().

void AutoRecover::clear_backup ( synfig::Canvas::Handle  canvas)

Referenced by studio::Instance::close().


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