summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/ServerI.h')
-rw-r--r--cpp/src/IceGrid/ServerI.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ServerI.h b/cpp/src/IceGrid/ServerI.h
index be6200d6e1e..3cd6441447e 100644
--- a/cpp/src/IceGrid/ServerI.h
+++ b/cpp/src/IceGrid/ServerI.h
@@ -213,7 +213,7 @@ class DestroyCommand : public ServerCommand
{
public:
- DestroyCommand(const ServerIPtr&, bool = false);
+ DestroyCommand(const ServerIPtr&, bool, bool);
bool canExecute(ServerI::InternalServerState);
ServerI::InternalServerState nextState();
@@ -222,10 +222,12 @@ public:
void addCallback(const AMD_Node_destroyServerPtr&);
void finished();
bool loadFailure() const;
+ bool clearDir() const;
private:
const bool _loadFailure;
+ const bool _clearDir;
std::vector<AMD_Node_destroyServerPtr> _destroyCB;
};