From 0f2dfd5817375c333dcb3348ff53b9cdc0a474e1 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 26 Mar 2013 10:52:20 +0100 Subject: Add boiler plates and gitignore file. --- .gitignore | 7 +++++++ libusbhp/libusbhp.cc | 26 ++++++++++++++++++++++++++ libusbhp/libusbhp.h | 26 ++++++++++++++++++++++++++ test/test.cc | 26 ++++++++++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8ab65e4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +Debug +test/Debug +libusbhp/Debug +libusbhp.sdf +libusbhp.v11.suo +*~ +*.o \ No newline at end of file diff --git a/libusbhp/libusbhp.cc b/libusbhp/libusbhp.cc index 63890cb..9e79220 100644 --- a/libusbhp/libusbhp.cc +++ b/libusbhp/libusbhp.cc @@ -1,3 +1,29 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/*************************************************************************** + * libusbhp.cc + * + * Thu Mar 16 10:48:40 CEST 2013 + * Copyright 2013 Bent Bisballe Nyeng + * deva@aasimon.org + ****************************************************************************/ + +/* + * This file is part of the Usb Hotplug Library (libusbhp) + * + * Libusbhp 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. + * + * Libusbhp 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 libusbhp; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ #include "libusbhp.h" #ifdef __linux__ diff --git a/libusbhp/libusbhp.h b/libusbhp/libusbhp.h index 46558ee..ccf7125 100644 --- a/libusbhp/libusbhp.h +++ b/libusbhp/libusbhp.h @@ -1,3 +1,29 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/*************************************************************************** + * libusbhp.h + * + * Thu Mar 16 10:48:40 CEST 2013 + * Copyright 2013 Bent Bisballe Nyeng + * deva@aasimon.org + ****************************************************************************/ + +/* + * This file is part of the Usb Hotplug Library (libusbhp) + * + * Libusbhp 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. + * + * Libusbhp 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 libusbhp; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ #ifndef __LIBUSBHP_H__ #define __LIBUSBHP_H__ diff --git a/test/test.cc b/test/test.cc index 4a6e3ee..24063be 100644 --- a/test/test.cc +++ b/test/test.cc @@ -1,3 +1,29 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/*************************************************************************** + * test.cc + * + * Thu Mar 16 10:48:40 CEST 2013 + * Copyright 2013 Bent Bisballe Nyeng + * deva@aasimon.org + ****************************************************************************/ + +/* + * This file is part of the Usb Hotplug Library (libusbhp) + * + * Libusbhp 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. + * + * Libusbhp 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 libusbhp; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ #include #include -- cgit v1.2.3