[Box Backup-commit] COMMIT r2244 - box/trunk/lib/backupclient

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Aug 21 11:20:14 BST 2008


Author: chris
Date: 2008-08-21 11:20:13 +0100 (Thu, 21 Aug 2008)
New Revision: 2244

Added:
   box/trunk/lib/backupclient/RunStatusProvider.h
Log:
Run status provider interface, needed to connect Box Backup to Boxi and 
potentially other frontends and allow stopping a backup in progress.


Added: box/trunk/lib/backupclient/RunStatusProvider.h
===================================================================
--- box/trunk/lib/backupclient/RunStatusProvider.h	                        (rev 0)
+++ box/trunk/lib/backupclient/RunStatusProvider.h	2008-08-21 10:20:13 UTC (rev 2244)
@@ -0,0 +1,29 @@
+// --------------------------------------------------------------------------
+//
+// File
+//		Name:    RunStatusProvider.h
+//		Purpose: Declares the RunStatusProvider interface.
+//		Created: 2008/08/14
+//
+// --------------------------------------------------------------------------
+
+#ifndef RUNSTATUSPROVIDER__H
+#define RUNSTATUSPROVIDER__H
+
+// --------------------------------------------------------------------------
+//
+// Class
+//		Name:    RunStatusProvider
+//		Purpose: Provides a StopRun() method which returns true if
+//			 the current backup should be halted.
+//		Created: 2005/11/15
+//
+// --------------------------------------------------------------------------
+class RunStatusProvider
+{
+	public:
+	virtual ~RunStatusProvider() { }
+	virtual bool StopRun() = 0;
+};
+
+#endif // RUNSTATUSPROVIDER__H


Property changes on: box/trunk/lib/backupclient/RunStatusProvider.h
___________________________________________________________________
Name: svn:mime-type
   + text/x-chdr
Name: svn:eol-style
   + native




More information about the Boxbackup-commit mailing list