blob: ce57f2b7a5da64a61dce206cc7f4c7387e7fcf70 [file] [log] [blame]
Gwendal Grignou9fad7e42025-01-10 08:37:441// Copyright 2025 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef LIBMEMS_IIO_CONTEXT_FACTORY_H_
6#define LIBMEMS_IIO_CONTEXT_FACTORY_H_
7
8#include <memory>
9
10#include "libmems/export.h"
11#include "libmems/iio_context.h"
12
13namespace libmems {
14
15class LIBMEMS_EXPORT IioContextFactory {
16 public:
17 IioContextFactory();
18 virtual ~IioContextFactory() = default;
19
20 virtual std::unique_ptr<IioContext> Generate();
21};
22
23} // namespace libmems
24
25#endif // LIBMEMS_IIO_CONTEXT_FACTORY_H_