Skip to content

Commit 8565068

Browse files
committed
Moved sqlite.hpp
Signed-off-by: K-ballo <k@fusionfenix.com>
1 parent e93a6b9 commit 8565068

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

eggs/sqlite/sqlite.hpp renamed to eggs/sqlite.hpp

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Eggs.SQLite <eggs/sqlite/sqlite.hpp>
2+
* Eggs.SQLite <eggs/sqlite.hpp>
33
*
44
* Copyright Agustín Bergé, Fusion Fenix 2012
55
*
@@ -9,8 +9,8 @@
99
* Library home page: http://github.com/eggs-cpp/eggs-sqlite
1010
*/
1111

12-
#ifndef EGGS_SQLITE_SQLITE_HPP
13-
#define EGGS_SQLITE_SQLITE_HPP
12+
#ifndef EGGS_SQLITE_HPP
13+
#define EGGS_SQLITE_HPP
1414

1515
#include <eggs/sqlite/blob.hpp>
1616
#include <eggs/sqlite/conversion_traits.hpp>
@@ -25,8 +25,4 @@
2525
#include <eggs/sqlite/statement_iterator.hpp>
2626
#include <eggs/sqlite/transaction.hpp>
2727

28-
namespace eggs { namespace sqlite {
29-
30-
} } // namespace eggs::sqlite
31-
32-
#endif /*EGGS_SQLITE_SQLITE_HPP*/
28+
#endif /*EGGS_SQLITE_HPP*/

libs/sqlite/src/main.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Library home page: http://github.com/eggs-cpp/eggs-sqlite
1010
*/
1111

12-
#include <eggs/sqlite/sqlite.hpp>
12+
#include <eggs/sqlite.hpp>
1313

1414
#include <algorithm>
1515
#include <exception>
@@ -97,6 +97,9 @@ int main( int argc, char* argv[] )
9797
"ORDER BY year ASC"
9898
);
9999

100+
sqlite::istatement s2( books_db, "SELECT * FROM books" );
101+
s2 = boost::move( books_by_author );
102+
100103
// Core access
101104
books_by_author["author"] = "Bjarne Stroustrup";
102105
{

libs/sqlite/vs/sqlite.vcxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@
290290
<ClCompile Include="..\src\sqlite3\sqlite3.c" />
291291
</ItemGroup>
292292
<ItemGroup>
293+
<ClInclude Include="..\..\..\eggs\sqlite.hpp" />
293294
<ClInclude Include="..\..\..\eggs\sqlite\blob.hpp" />
294295
<ClInclude Include="..\..\..\eggs\sqlite\conversion_traits.hpp" />
295296
<ClInclude Include="..\..\..\eggs\sqlite\database.hpp" />
@@ -301,7 +302,6 @@
301302
<ClInclude Include="..\..\..\eggs\sqlite\raw_traits.hpp" />
302303
<ClInclude Include="..\..\..\eggs\sqlite\row.hpp" />
303304
<ClInclude Include="..\..\..\eggs\sqlite\sequence.hpp" />
304-
<ClInclude Include="..\..\..\eggs\sqlite\sqlite.hpp" />
305305
<ClInclude Include="..\..\..\eggs\sqlite\statement.hpp" />
306306
<ClInclude Include="..\..\..\eggs\sqlite\statement_iterator.hpp" />
307307
<ClInclude Include="..\..\..\eggs\sqlite\transaction.hpp" />

libs/sqlite/vs/sqlite.vcxproj.filters

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@
5757
<ClInclude Include="..\..\..\eggs\sqlite\sequence.hpp">
5858
<Filter>eggs\sqlite</Filter>
5959
</ClInclude>
60-
<ClInclude Include="..\..\..\eggs\sqlite\sqlite.hpp">
61-
<Filter>eggs\sqlite</Filter>
62-
</ClInclude>
6360
<ClInclude Include="..\..\..\eggs\sqlite\statement.hpp">
6461
<Filter>eggs\sqlite</Filter>
6562
</ClInclude>
@@ -75,5 +72,8 @@
7572
<ClInclude Include="..\..\..\eggs\sqlite\mutex.hpp">
7673
<Filter>eggs\sqlite</Filter>
7774
</ClInclude>
75+
<ClInclude Include="..\..\..\eggs\sqlite.hpp">
76+
<Filter>eggs</Filter>
77+
</ClInclude>
7878
</ItemGroup>
7979
</Project>

0 commit comments

Comments
 (0)