Add boilerplate headers comments and include guards
The initial main.cpp and libcamera.h files are missing boilerplate header comments. libcamera.h is further missing include guards. Add them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
b99da21657
commit
0713202dc0
3 changed files with 25 additions and 0 deletions
|
@ -1,5 +1,16 @@
|
||||||
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2018, Google Inc.
|
||||||
|
*
|
||||||
|
* libcamera.h - libcamera public API
|
||||||
|
*/
|
||||||
|
#ifndef __LIBCAMERA_LIBCAMERA_H__
|
||||||
|
#define __LIBCAMERA_LIBCAMERA_H__
|
||||||
|
|
||||||
class libcamera
|
class libcamera
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void init_lib(void);
|
void init_lib(void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif /* __LIBCAMERA_LIBCAMERA_H__ */
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2018, Google Inc.
|
||||||
|
*
|
||||||
|
* main.cpp - libcamera main class
|
||||||
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <libcamera/libcamera.h>
|
#include <libcamera/libcamera.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2018, Google Inc.
|
||||||
|
*
|
||||||
|
* init.cpp - libcamera initialization test
|
||||||
|
*/
|
||||||
|
|
||||||
#include <libcamera/libcamera.h>
|
#include <libcamera/libcamera.h>
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue