| Revision 2945,
807 bytes
checked in by chris, 13 months ago
(diff) |
|
Major refactoring to make lib/backupclient depend on lib/backupstore rather
than the other way around. This is needed to allow clients to have all the
code that they'd need to implement local backups (using the Local protocol)
in subsequent commits.
|
-
Property svn:eol-style set to
native
-
Property svn:mime-type set to
text/x-chdr
|
| Line | |
|---|
| 1 | // -------------------------------------------------------------------------- |
|---|
| 2 | // |
|---|
| 3 | // File |
|---|
| 4 | // Name: RunStatusProvider.h |
|---|
| 5 | // Purpose: Declares the RunStatusProvider interface. |
|---|
| 6 | // Created: 2008/08/14 |
|---|
| 7 | // |
|---|
| 8 | // -------------------------------------------------------------------------- |
|---|
| 9 | |
|---|
| 10 | #ifndef RUNSTATUSPROVIDER__H |
|---|
| 11 | #define RUNSTATUSPROVIDER__H |
|---|
| 12 | |
|---|
| 13 | // -------------------------------------------------------------------------- |
|---|
| 14 | // |
|---|
| 15 | // Class |
|---|
| 16 | // Name: RunStatusProvider |
|---|
| 17 | // Purpose: Provides a StopRun() method which returns true if |
|---|
| 18 | // the current backup should be halted. |
|---|
| 19 | // Created: 2005/11/15 |
|---|
| 20 | // |
|---|
| 21 | // -------------------------------------------------------------------------- |
|---|
| 22 | class RunStatusProvider |
|---|
| 23 | { |
|---|
| 24 | public: |
|---|
| 25 | virtual ~RunStatusProvider() { } |
|---|
| 26 | virtual bool StopRun() = 0; |
|---|
| 27 | }; |
|---|
| 28 | |
|---|
| 29 | #endif // RUNSTATUSPROVIDER__H |
|---|
Note: See
TracBrowser
for help on using the repository browser.