1.1 --- a/libfsserver/include/fsserver/file_notification.h Sat Sep 11 00:16:10 2021 +0200
1.2 +++ b/libfsserver/include/fsserver/file_notification.h Sat Sep 11 01:32:34 2021 +0200
1.3 @@ -23,26 +23,17 @@
1.4
1.5 #include <mutex>
1.6
1.7 +#include <fsserver/accountable.h>
1.8 #include <fsserver/notification.h>
1.9
1.10
1.11
1.12 /* Notification support for files. */
1.13
1.14 -class FileNotification : public NotificationSupport
1.15 +class FileNotification : public NotificationSupport, public Accountable
1.16 {
1.17 -protected:
1.18 - std::mutex _lock;
1.19 - unsigned int _attached = 0;
1.20 -
1.21 public:
1.22 explicit FileNotification();
1.23 -
1.24 - /* Accounting methods. */
1.25 -
1.26 - void attach();
1.27 -
1.28 - unsigned int detach();
1.29 };
1.30
1.31 // vim: tabstop=4 expandtab shiftwidth=4