mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-16 17:05:08 +03:00
libcamera: pipeline_handler: Make registerType() private
The PipelineHandlerFactory::registerType() function is called by the PipelineHandlerFactory class only. Make it private. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Xavier Roumegue <xavier.roumegue@oss.nxp.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
7e38ae8a1e
commit
5a867f312c
1 changed files with 2 additions and 1 deletions
|
@ -108,10 +108,11 @@ public:
|
|||
|
||||
const std::string &name() const { return name_; }
|
||||
|
||||
static void registerType(PipelineHandlerFactory *factory);
|
||||
static std::vector<PipelineHandlerFactory *> &factories();
|
||||
|
||||
private:
|
||||
static void registerType(PipelineHandlerFactory *factory);
|
||||
|
||||
virtual PipelineHandler *createInstance(CameraManager *manager) const = 0;
|
||||
|
||||
std::string name_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue