mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-17 09:25:07 +03:00
libcamera: controls: Reorder ControlValue methods
Reorder functions in ControlValue class to group const methods together. Cosmetic change only. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
8c051160e7
commit
dd09239600
2 changed files with 52 additions and 52 deletions
|
@ -33,11 +33,6 @@ public:
|
|||
ControlType type() const { return type_; }
|
||||
bool isNone() const { return type_ == ControlTypeNone; }
|
||||
|
||||
template<typename T>
|
||||
const T &get() const;
|
||||
template<typename T>
|
||||
void set(const T &value);
|
||||
|
||||
std::string toString() const;
|
||||
|
||||
bool operator==(const ControlValue &other) const;
|
||||
|
@ -46,6 +41,11 @@ public:
|
|||
return !(*this == other);
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
const T &get() const;
|
||||
template<typename T>
|
||||
void set(const T &value);
|
||||
|
||||
private:
|
||||
ControlType type_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue