Commit 94ff8e83 authored by Davis King's avatar Davis King

Just removed the sqlite namespace and unindended everything.

parent 8d1cf196
This diff is collapsed.
......@@ -14,10 +14,8 @@
namespace dlib
{
namespace sqlite
{
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
struct sqlite_error : public error
{
......@@ -29,7 +27,7 @@ namespace dlib
!*/
};
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
class database : noncopyable
{
......@@ -121,7 +119,7 @@ namespace dlib
};
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
class statement : noncopyable
{
......@@ -435,9 +433,8 @@ namespace dlib
};
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
}
}
#endif // DLIB_SQLiTE_ABSTRACT_H_
......
......@@ -11,8 +11,6 @@
namespace dlib
{
namespace sqlite
{
class transaction : noncopyable
{
......@@ -47,7 +45,7 @@ namespace dlib
};
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
template <
......@@ -73,7 +71,7 @@ namespace dlib
}
}
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
inline std::string query_text (
database& db,
......@@ -95,7 +93,7 @@ namespace dlib
}
}
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
inline double query_double (
database& db,
......@@ -117,7 +115,7 @@ namespace dlib
}
}
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
inline int query_int (
database& db,
......@@ -139,7 +137,7 @@ namespace dlib
}
}
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
inline int64 query_int64 (
database& db,
......@@ -161,7 +159,7 @@ namespace dlib
}
}
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
inline const std::vector<char> query_blob (
database& db,
......@@ -183,9 +181,8 @@ namespace dlib
}
}
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
}
}
#endif // DLIB_SQLiTE_TOOLS_H_
......
......@@ -10,8 +10,6 @@
namespace dlib
{
namespace sqlite
{
class transaction : noncopyable
{
......@@ -56,7 +54,7 @@ namespace dlib
};
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
template <
typename T
......@@ -77,7 +75,7 @@ namespace dlib
!*/
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
std::string query_text (
database& db,
......@@ -93,7 +91,7 @@ namespace dlib
succeeding.
!*/
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
double query_double (
database& db,
......@@ -109,7 +107,7 @@ namespace dlib
succeeding.
!*/
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
int query_int (
database& db,
......@@ -125,7 +123,7 @@ namespace dlib
succeeding.
!*/
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
int64 query_int64 (
database& db,
......@@ -141,7 +139,7 @@ namespace dlib
succeeding.
!*/
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
const std::vector<char> query_blob (
database& db,
......@@ -157,9 +155,8 @@ namespace dlib
succeeding.
!*/
// ------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
}
}
#endif // DLIB_SQLiTE_TOOLS_H_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment