mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
Cleanups tasks :
- MIT License file and header - small README - Renaming to SQLiteC++
This commit is contained in:
parent
8d93693e88
commit
30562dcdab
18
LICENSE.txt
Normal file
18
LICENSE.txt
Normal 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
17
README.txt
Normal 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)
|
@ -181,12 +181,12 @@
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="sqlite_hpp"
|
||||
Name="SQLiteC++"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||
>
|
||||
<File
|
||||
RelativePath=".\src\sqlite.hpp"
|
||||
RelativePath=".\src\SQLiteC++\SQLiteC++.h"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
|
@ -1,7 +1,17 @@
|
||||
/**
|
||||
* @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 <stdexcept>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <algorithm>
|
||||
|
||||
namespace SQLite
|
||||
{
|
@ -1,6 +1,5 @@
|
||||
#include <iostream>
|
||||
#include "../sqlite.hpp"
|
||||
|
||||
#include "../SQLiteC++/SQLiteC++.h"
|
||||
|
||||
int main (void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user