summaryrefslogtreecommitdiff
path: root/bin/bbackupquery/CommandCompletion.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-09-04 01:36:19 +0000
committerChris Wilson <chris+github@qwirx.com>2014-09-04 01:36:19 +0000
commite00bd81ce959d02d3fa62e7e75956162f8e70c7e (patch)
treedf37302243b921f7adc26908ee1c9c5ea00afa60 /bin/bbackupquery/CommandCompletion.cpp
parent944745c21c7df19ada39e1d347ca732c1f424070 (diff)
Changed many uses of BackupProtocolClient to BackupProtocolCallable.
Makes way for more use of local protocol objects and protocol subclasses. Merged back changes from the test refactor branch to reduce diffs.
Diffstat (limited to 'bin/bbackupquery/CommandCompletion.cpp')
-rw-r--r--bin/bbackupquery/CommandCompletion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bbackupquery/CommandCompletion.cpp b/bin/bbackupquery/CommandCompletion.cpp
index 2ca26991..5a547ea8 100644
--- a/bin/bbackupquery/CommandCompletion.cpp
+++ b/bin/bbackupquery/CommandCompletion.cpp
@@ -45,7 +45,7 @@
std::vector<std::string> Complete ## name( \
BackupQueries::ParsedCommand& rCommand, \
const std::string& prefix, \
- BackupProtocolClient& rProtocol, const Configuration& rConfig, \
+ BackupProtocolCallable& rProtocol, const Configuration& rConfig, \
BackupQueries& rQueries) \
{ \
std::vector<std::string> completions; \
@@ -170,7 +170,7 @@ int16_t GetExcludeFlags(BackupQueries::ParsedCommand& rCommand)
std::vector<std::string> CompleteRemoteFileOrDirectory(
BackupQueries::ParsedCommand& rCommand,
- const std::string& prefix, BackupProtocolClient& rProtocol,
+ const std::string& prefix, BackupProtocolCallable& rProtocol,
BackupQueries& rQueries, int16_t includeFlags)
{
std::vector<std::string> completions;