mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00:00
LibGfx: Make PortableImageDecoderPlugin
constructor private
This commit is contained in:
parent
208e3f1978
commit
387894cdf2
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,6 @@ public:
|
||||||
static bool sniff(ReadonlyBytes);
|
static bool sniff(ReadonlyBytes);
|
||||||
static ErrorOr<NonnullOwnPtr<ImageDecoderPlugin>> create(ReadonlyBytes);
|
static ErrorOr<NonnullOwnPtr<ImageDecoderPlugin>> create(ReadonlyBytes);
|
||||||
|
|
||||||
PortableImageDecoderPlugin(u8 const*, size_t);
|
|
||||||
virtual ~PortableImageDecoderPlugin() override = default;
|
virtual ~PortableImageDecoderPlugin() override = default;
|
||||||
|
|
||||||
virtual IntSize size() override;
|
virtual IntSize size() override;
|
||||||
|
@ -68,6 +67,8 @@ public:
|
||||||
virtual ErrorOr<Optional<ReadonlyBytes>> icc_data() override;
|
virtual ErrorOr<Optional<ReadonlyBytes>> icc_data() override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
PortableImageDecoderPlugin(u8 const*, size_t);
|
||||||
|
|
||||||
OwnPtr<TContext> m_context;
|
OwnPtr<TContext> m_context;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue