From patchwork Wed Aug 3 11:21:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 16938 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id E1D96BE173 for ; Wed, 3 Aug 2022 11:22:07 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id AAD9563314; Wed, 3 Aug 2022 13:22:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1659525727; bh=jJyNKqVT5CXPER9+usl/DkRKCJNV5gqIlfA1aTkdCoE=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=J34JA522UXK8RaNhoV6RLLOKpn76usimVjy7NTA9HJp/9Anjj3opQtFiCATE/si12 oPlEUoe5EZDYuZz49fgc/Im9au7Hk1/EyC1C3MlwUwr/q+igtWuKulwuXoSPu/2fuT Oq6fEAhZo76xxq9psJlMfgwBeiuqlf4cbm3IDMo8ciPUex6yAD7S7c9DR+tq4CTIG2 kxzjLV3Kdh157SDoIg5nXmiN/4L4bBBN6awIFNkqPJQIYLiWkU4al5d/Ir8NZbRtj/ IUhQjrm6JygrYYy1Zq+V69z9Y+tK54d0N3rNt7cA6yPyq2wJDIw8XchvmrwKRXF4nL UIVuDG7GJmtEg== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 18AAE6331C for ; Wed, 3 Aug 2022 13:22:05 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="u0cH5m5n"; dkim-atps=neutral Received: from pyrite.rasen.tech (h175-177-042-159.catv02.itscom.jp [175.177.42.159]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D985530B; Wed, 3 Aug 2022 13:22:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1659525724; bh=jJyNKqVT5CXPER9+usl/DkRKCJNV5gqIlfA1aTkdCoE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u0cH5m5nyXLU/bVYSa22elVBhAkrMR9l106ftuOEAkkOP2twhnPTD43DcJaOE1I6Q 668Tt1CSzN1kq5cK7FjwGTfFf5HVi3CGZKhMKUAAn6t9MAZLAS1k/9VgM/trkH7mMQ 5ukLbGClHM2WihoBG8otqwT0AngSl/S95spDMkIs= To: libcamera-devel@lists.libcamera.org Date: Wed, 3 Aug 2022 20:21:44 +0900 Message-Id: <20220803112150.3040287-4-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220803112150.3040287-1-paul.elder@ideasonboard.com> References: <20220803112150.3040287-1-paul.elder@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 3/9] libcamera: flags: Add friend class IPADataSerializer X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Paul Elder via libcamera-devel From: Paul Elder Reply-To: Paul Elder Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" To prepare for the ability to send Flags over IPC, add IPADataSerializer as a friend class to Flags. Signed-off-by: Paul Elder --- include/libcamera/base/flags.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/libcamera/base/flags.h b/include/libcamera/base/flags.h index a1b404bd..43afdf26 100644 --- a/include/libcamera/base/flags.h +++ b/include/libcamera/base/flags.h @@ -137,6 +137,9 @@ public: } private: + template + friend class IPADataSerializer; + Type value_; };