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:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user