summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera_file.h
AgeCommit message (Expand)Author
2021-11-24v4l2: Convert to pragma onceKieran Bingham
2020-06-25v4l2: v4l2_camera_file: Add V4L2CameraFile to model the opened camera filePaul Elder
ass='lines'>
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright (C) 2021, Google Inc.
 *
 * public-api.cpp - Public API validation
 */

#include <libcamera/libcamera.h>

#include "test.h"

class PublicAPITest : public Test
{
	int run()
	{
#ifdef LIBCAMERA_BASE_PRIVATE
#error "Public interfaces should not be exposed to LIBCAMERA_BASE_PRIVATE"
		return TestFail;
#else
		return TestPass;
#endif
	}
};

TEST_REGISTER(PublicAPITest)