]> git.ipfire.org Git - thirdparty/squid.git/blame - src/DiskIO/DiskDaemon/DiskDaemonDiskIOModule.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / src / DiskIO / DiskDaemon / DiskDaemonDiskIOModule.h
CommitLineData
59b2d47f 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
59b2d47f 3 *
bbc27441
AJ
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
59b2d47f 7 */
8
ff9d9458
FC
9#ifndef SQUID_SRC_DISKIO_DISKDAEMON_DISKDAEMONDISKIOMODULE_H
10#define SQUID_SRC_DISKIO_DISKDAEMON_DISKDAEMONDISKIOMODULE_H
59b2d47f 11
b9ae18aa 12#include "DiskIO/DiskIOModule.h"
59b2d47f 13
b9ae18aa 14class DiskDaemonDiskIOModule : public DiskIOModule
59b2d47f 15{
16
17public:
b9ae18aa 18 static DiskDaemonDiskIOModule &GetInstance();
19 DiskDaemonDiskIOModule();
337b9aa4
AR
20 void init() override;
21 void gracefulShutdown() override;
22 char const *type () const override;
23 DiskIOStrategy* createStrategy() override;
b9ae18aa 24
25private:
b9ae18aa 26 static DiskDaemonDiskIOModule Instance;
27 bool initialised;
6fdc2d18 28 void registerWithCacheManager(void);
59b2d47f 29};
30
ff9d9458 31#endif /* SQUID_SRC_DISKIO_DISKDAEMON_DISKDAEMONDISKIOMODULE_H */
f53969cc 32