aboutsummaryrefslogtreecommitdiffstats
path: root/src/lc-compliance/environment.cpp
blob: 9e24b5e34e4aa9f08045ed0b67deda7b66c68aa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright (C) 2021, Collabora Ltd.
 *
 * environment.cpp - Common environment for tests
 */

#include "environment.h"

Environment *Environment::get()
{
	static Environment instance;
	return &instance;
}

void Environment::setup(CameraManager *cm, std::string cameraId)
{
	cm_ = cm;
	cameraId_ = cameraId;
}

Privacy Policy