Cleanups tasks :

- MIT License file and header
- small README
- Renaming to SQLiteC++
This commit is contained in:
Sebastien Rombauts 2012-03-31 13:21:46 +02:00
parent 8d93693e88
commit 30562dcdab
6 changed files with 49 additions and 5 deletions

18
LICENSE.txt Normal file
View File

@ -0,0 +1,18 @@
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

17
README.txt Normal file
View File

@ -0,0 +1,17 @@
SQLiteC++ is a smart and simple C++ SQLite3 wrapper, easy to use and efficient.
It is designed with the Resource Acquisition Is Initialization (RAII) idom
(see http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization).
Thus Each SQLiteC++ object must be constructed with a valid SQLite database connexion.
For other simple C++ SQLite wrappers look also at:
- sqdbcpp also using RAII (http://code.google.com/p/sqdbcpp/)
- CppSQLite (http://www.codeproject.com/Articles/6343/CppSQLite-C-Wrapper-for-SQLite
or fork at https://github.com/NeoSmart/CppSQLite)
- sqlite3pp (http://code.google.com/p/sqlite3pp/)
- SQLite++ (http://sqlitepp.berlios.de/)
Copyright (c) 2012 Sebastien Rombauts (sebastien dot rombauts at gmail dot com)
Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
or copy at http://opensource.org/licenses/MIT)

View File

@ -181,12 +181,12 @@
</File> </File>
</Filter> </Filter>
<Filter <Filter
Name="sqlite_hpp" Name="SQLiteC++"
Filter="h;hpp;hxx;hm;inl;inc;xsd" Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
> >
<File <File
RelativePath=".\src\sqlite.hpp" RelativePath=".\src\SQLiteC++\SQLiteC++.h"
> >
</File> </File>
</Filter> </Filter>

View File

@ -1,3 +1,13 @@
/**
* @brief SQLiteC++ is a smart and simple C++ SQLite3 wrapper.
*
* Copyright (c) 2012 Sebastien Rombauts (sebastien dot rombauts at gmail dot com)
*
* Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
* or copy at http://opensource.org/licenses/MIT)
*/
#pragma once
#include <sqlite3.h> #include <sqlite3.h>
#include <stdexcept> #include <stdexcept>
#include <vector> #include <vector>

View File

@ -1,6 +1,5 @@
#include <iostream> #include <iostream>
#include "../sqlite.hpp" #include "../SQLiteC++/SQLiteC++.h"
int main (void) int main (void)
{ {