From: Michael Rasmussen Date: Wed, 16 Oct 2024 20:50:51 +0000 (+0200) Subject: More fixes X-Git-Url: http://git.datanom.net/lensdb.git/commitdiff_plain/6400c00fde977903f15792d6f52311dd0526a46f More fixes --- diff --git a/src/Makefile.am b/src/Makefile.am index 07696d3..44494af 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,7 +12,8 @@ bin_PROGRAMS = lensdb lensdb_SOURCES = \ main.c \ sqlite-storage.h \ - sqlite-storage.c + sqlite-storage.c \ + ui.h lensdb_LDADD = \ @GLIB_LIBS@ \ diff --git a/src/main.c b/src/main.c index 53a291b..b8cfdd9 100644 --- a/src/main.c +++ b/src/main.c @@ -1,10 +1,35 @@ +/* + * main.c + * + * Copyright 2024 Michael Rasmussen + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + * + * + */ + #ifdef HAVE_CONFIG_H # include #endif #include #include +#include #include "sqlite-storage.h" gint main(gint argc, gchar** argv) { + printf("test\n"); return 0; } diff --git a/src/sqlite-storage.c b/src/sqlite-storage.c index 0154528..8686186 100644 --- a/src/sqlite-storage.c +++ b/src/sqlite-storage.c @@ -1,2 +1,25 @@ +/* + * sqlite-storage.c + * + * Copyright 2024 Michael Rasmussen + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + * + * + */ + #include "sqlite-storage.h" diff --git a/src/sqlite-storage.h b/src/sqlite-storage.h index f81e7dc..dc5e180 100644 --- a/src/sqlite-storage.h +++ b/src/sqlite-storage.h @@ -1,3 +1,23 @@ +/* + * sqlite-storage.h + * + * Copyright 2024 Michael Rasmussen + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. + */ #ifndef __SQLITE_STORAGE_H__ #define __SQLITE_STORAGE_H__