diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-26 10:52:20 +0100 | 
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-03-26 10:52:20 +0100 | 
| commit | 0f2dfd5817375c333dcb3348ff53b9cdc0a474e1 (patch) | |
| tree | de48dd104c1ffb802081a1ecf5d291855b24eae1 | |
| parent | 257c0d9b563f91d6613a8dd8c6bb4be0a1366036 (diff) | |
Add boiler plates and gitignore file.
| -rw-r--r-- | .gitignore | 7 | ||||
| -rw-r--r-- | libusbhp/libusbhp.cc | 26 | ||||
| -rw-r--r-- | libusbhp/libusbhp.h | 26 | ||||
| -rw-r--r-- | test/test.cc | 26 | 
4 files changed, 85 insertions, 0 deletions
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 <stdio.h>  #include <time.h>  | 
