diff --git a/include/libcamera/libcamera.h b/include/libcamera/libcamera.h index d5b34a2c6..64857326a 100644 --- a/include/libcamera/libcamera.h +++ b/include/libcamera/libcamera.h @@ -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 { public: void init_lib(void); }; + +#endif /* __LIBCAMERA_LIBCAMERA_H__ */ diff --git a/lib/main.cpp b/lib/main.cpp index 37f1ccce4..0059e0c91 100644 --- a/lib/main.cpp +++ b/lib/main.cpp @@ -1,3 +1,10 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +/* + * Copyright (C) 2018, Google Inc. + * + * main.cpp - libcamera main class + */ + #include #include diff --git a/test/init.cpp b/test/init.cpp index 8c8ec9adf..97948b9c8 100644 --- a/test/init.cpp +++ b/test/init.cpp @@ -1,3 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2018, Google Inc. + * + * init.cpp - libcamera initialization test + */ + #include int main(void)