summaryrefslogtreecommitdiff
path: root/lib/backupstore/BackupProtocol.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-09-04 01:36:58 +0000
committerChris Wilson <chris+github@qwirx.com>2014-09-04 01:36:58 +0000
commit721f6243ab425318f819c8691410796e2dfef1c1 (patch)
tree3ceb27037803e5894fbb72224db2a4056dca2a5c /lib/backupstore/BackupProtocol.h
parentc924af26fdd046d158fd50575583ea6a31e725ea (diff)
Major refactor of testbbackupd.
Split single monolithic test into many smaller ones, which can be run separately. Allows easier testing of new features in isolation. Merged back changes from the test refactor branch to reduce diffs.
Diffstat (limited to 'lib/backupstore/BackupProtocol.h')
-rw-r--r--lib/backupstore/BackupProtocol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/backupstore/BackupProtocol.h b/lib/backupstore/BackupProtocol.h
index 62244aae..0e0988f7 100644
--- a/lib/backupstore/BackupProtocol.h
+++ b/lib/backupstore/BackupProtocol.h
@@ -29,6 +29,9 @@ private:
int32_t mAccountNumber;
bool mReadOnly;
+protected:
+ BackupStoreContext& GetContext() { return mContext; }
+
public:
BackupProtocolLocal2(int32_t AccountNumber,
const std::string& ConnectionDetails,