X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fautorecover.h;h=9bdedac1c57aff9f3f1ad0254884012aae4254f4;hb=8a01cc8523e826f03a8d5b8499090124a445f3df;hp=df401dbc64bd7d91d5724ee51468ab70c220807e;hpb=ce408de81ca266b1f334ee9bc6c8fb7ba1492ed4;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/autorecover.h b/synfig-studio/trunk/src/gtkmm/autorecover.h index df401db..9bdedac 100644 --- a/synfig-studio/trunk/src/gtkmm/autorecover.h +++ b/synfig-studio/trunk/src/gtkmm/autorecover.h @@ -2,10 +2,11 @@ /*! \file autorecover.h ** \brief Template Header ** -** $Id: autorecover.h,v 1.1.1.1 2005/01/07 03:34:35 darco Exp $ +** $Id$ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -42,7 +43,7 @@ namespace studio { class AutoRecover { int timeout; - SigC::Connection auto_backup_connect; + sigc::connection auto_backup_connect; public: AutoRecover(); ~AutoRecover(); @@ -56,14 +57,14 @@ public: void set_timeout(int milliseconds); int get_timeout()const { return timeout; } - + static synfig::String get_shadow_directory(); - + bool recovery_needed()const; - bool recover(); - + bool recover(int& number_recovered); + void normal_shutdown(); - + void clear_backup(synfig::Canvas::Handle canvas); }; // END of class AutoRecover