Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / tools / rbd_mirror / ProgressContext.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #ifndef RBD_MIRROR_PROGRESS_CONTEXT_H
5 #define RBD_MIRROR_PROGRESS_CONTEXT_H
6
7 namespace rbd {
8 namespace mirror {
9
10 class ProgressContext
11 {
12 public:
13   virtual ~ProgressContext() {}
14   virtual void update_progress(const std::string &description,
15                                bool flush = true) = 0;
16 };
17
18 } // namespace mirror
19 } // namespace rbd
20
21 #endif // RBD_MIRROR_PROGRESS_CONTEXT_H