mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Mark a bunch of classes as final
This commit is contained in:
@@ -17,7 +17,7 @@ class CZipReader;
|
||||
/*!
|
||||
FileSystem which uses normal files and one zipfile
|
||||
*/
|
||||
class CFileSystem : public IFileSystem
|
||||
class CFileSystem final : public IFileSystem
|
||||
{
|
||||
public:
|
||||
//! constructor
|
||||
|
@@ -21,7 +21,7 @@ inline bool checkImageDimensions(u32 width, u32 height)
|
||||
|
||||
//! IImage implementation with a lot of special image operations for
|
||||
//! 16 bit A1R5G5B5/32 Bit A8R8G8B8 images, which are used by the SoftwareDevice.
|
||||
class CImage : public IImage
|
||||
class CImage final : public IImage
|
||||
{
|
||||
public:
|
||||
//! constructor from raw image data
|
||||
|
@@ -20,7 +20,7 @@ namespace io
|
||||
This can be useful, for example for reading uncompressed files
|
||||
in an archive (zip, tar).
|
||||
!*/
|
||||
class CLimitReadFile : public IReadFile
|
||||
class CLimitReadFile final : public IReadFile
|
||||
{
|
||||
public:
|
||||
CLimitReadFile(IReadFile *alreadyOpenedFile, long pos, long areaSize, const io::path &name);
|
||||
|
@@ -17,7 +17,7 @@ namespace io
|
||||
/*!
|
||||
Class for reading from memory.
|
||||
*/
|
||||
class CMemoryReadFile : public IMemoryReadFile
|
||||
class CMemoryReadFile final : public IMemoryReadFile
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
|
@@ -17,7 +17,7 @@ namespace io
|
||||
/*!
|
||||
Class for reading a real file from disk.
|
||||
*/
|
||||
class CReadFile : public IReadFile
|
||||
class CReadFile final : public IReadFile
|
||||
{
|
||||
public:
|
||||
CReadFile(const io::path &fileName);
|
||||
|
@@ -25,7 +25,7 @@ class IMeshCache;
|
||||
/*!
|
||||
The Scene Manager manages scene nodes, mesh resources, cameras and all the other stuff.
|
||||
*/
|
||||
class CSceneManager : public ISceneManager, public ISceneNode
|
||||
class CSceneManager final : public ISceneManager, public ISceneNode
|
||||
{
|
||||
public:
|
||||
//! constructor
|
||||
|
Reference in New Issue
Block a user