Index: src/libchcore/TSQLiteStatement.h
===================================================================
diff -u -r320c4eb6ba3a38dcd6fbda6a9a12a8350a153e41 -re96806b7f8ff7ca7e9f4afbea603e6351a3dc3e3
--- src/libchcore/TSQLiteStatement.h	(.../TSQLiteStatement.h)	(revision 320c4eb6ba3a38dcd6fbda6a9a12a8350a153e41)
+++ src/libchcore/TSQLiteStatement.h	(.../TSQLiteStatement.h)	(revision e96806b7f8ff7ca7e9f4afbea603e6351a3dc3e3)
@@ -25,84 +25,83 @@
 
 struct sqlite3_stmt;
 
-BEGIN_CHCORE_NAMESPACE
-
-namespace sqlite
+namespace chcore
 {
-	typedef boost::shared_ptr<sqlite3_stmt> SQLiteStatementHandle;
-
-	class TSQLiteStatement
+	namespace sqlite
 	{
-	public:
-		enum EStepResult
+		typedef boost::shared_ptr<sqlite3_stmt> SQLiteStatementHandle;
+
+		class TSQLiteStatement
 		{
-			eStep_Finished,
-			eStep_HasRow
-		};
+		public:
+			enum EStepResult
+			{
+				eStep_Finished,
+				eStep_HasRow
+			};
 
-	public:
-		TSQLiteStatement(const TSQLiteDatabasePtr& spDatabase);
-		~TSQLiteStatement();
+		public:
+			TSQLiteStatement(const TSQLiteDatabasePtr& spDatabase);
+			~TSQLiteStatement();
 
-		void Close();
+			void Close();
 
-		void Prepare(PCTSTR pszQuery);
+			void Prepare(PCTSTR pszQuery);
 
-		void BindValue(int iColumn, bool bValue);
-		void BindValue(int iColumn, short siValue);
-		void BindValue(int iColumn, unsigned short usiValue);
-		void BindValue(int iColumn, int iValue);
-		void BindValue(int iColumn, unsigned int uiValue);
-		void BindValue(int iColumn, long lValue);
-		void BindValue(int iColumn, unsigned long ulValue);
-		void BindValue(int iColumn, long long llValue);
-		void BindValue(int iColumn, unsigned long long ullValue);
-		void BindValue(int iColumn, double dValue);
-		void BindValue(int iColumn, PCTSTR pszText);
-		void BindValue(int iColumn, const TString& strText);
-		void BindValue(int iColumn, const TSmartPath& path);
+			void BindValue(int iColumn, bool bValue);
+			void BindValue(int iColumn, short siValue);
+			void BindValue(int iColumn, unsigned short usiValue);
+			void BindValue(int iColumn, int iValue);
+			void BindValue(int iColumn, unsigned int uiValue);
+			void BindValue(int iColumn, long lValue);
+			void BindValue(int iColumn, unsigned long ulValue);
+			void BindValue(int iColumn, long long llValue);
+			void BindValue(int iColumn, unsigned long long ullValue);
+			void BindValue(int iColumn, double dValue);
+			void BindValue(int iColumn, PCTSTR pszText);
+			void BindValue(int iColumn, const TString& strText);
+			void BindValue(int iColumn, const TSmartPath& path);
 
-		void ClearBindings();
+			void ClearBindings();
 
-		EStepResult Step();
-		int Changes();
-		void Reset();
+			EStepResult Step();
+			int Changes();
+			void Reset();
 
-		bool GetBool(int iCol);
-		short GetShort(int iCol);
-		unsigned short GetUShort(int iCol);
-		int GetInt(int iCol);
-		unsigned int GetUInt(int iCol);
-		long GetLong(int iCol);
-		unsigned long GetULong(int iCol);
-		long long GetInt64(int iCol);
-		unsigned long long GetUInt64(int iCol);
-		double GetDouble(int iCol);
-		TString GetText(int iCol);
-		TSmartPath GetPath(int iCol);
+			bool GetBool(int iCol);
+			short GetShort(int iCol);
+			unsigned short GetUShort(int iCol);
+			int GetInt(int iCol);
+			unsigned int GetUInt(int iCol);
+			long GetLong(int iCol);
+			unsigned long GetULong(int iCol);
+			long long GetInt64(int iCol);
+			unsigned long long GetUInt64(int iCol);
+			double GetDouble(int iCol);
+			TString GetText(int iCol);
+			TSmartPath GetPath(int iCol);
 
-		void GetValue(int iCol, bool& bValue);
-		void GetValue(int iCol, short& iValue);
-		void GetValue(int iCol, unsigned short& uiValue);
-		void GetValue(int iCol, int& iValue);
-		void GetValue(int iCol, unsigned int& uiValue);
-		void GetValue(int iCol, long& lValue);
-		void GetValue(int iCol, unsigned long& ulValue);
-		void GetValue(int iCol, long long& llValue);
-		void GetValue(int iCol, unsigned long long& ullValue);
-		void GetValue(int iCol, double& dValue);
-		void GetValue(int iCol, TString& strValue);
-		void GetValue(int iCol, TSmartPath& pathValue);
+			void GetValue(int iCol, bool& bValue);
+			void GetValue(int iCol, short& iValue);
+			void GetValue(int iCol, unsigned short& uiValue);
+			void GetValue(int iCol, int& iValue);
+			void GetValue(int iCol, unsigned int& uiValue);
+			void GetValue(int iCol, long& lValue);
+			void GetValue(int iCol, unsigned long& ulValue);
+			void GetValue(int iCol, long long& llValue);
+			void GetValue(int iCol, unsigned long long& ullValue);
+			void GetValue(int iCol, double& dValue);
+			void GetValue(int iCol, TString& strValue);
+			void GetValue(int iCol, TSmartPath& pathValue);
 
-	private:
-		sqlite3_stmt* m_pStatement;
-		TSQLiteDatabasePtr m_spDatabase;
-		bool m_bHasRow;
-	};
+		private:
+			sqlite3_stmt* m_pStatement;
+			TSQLiteDatabasePtr m_spDatabase;
+			bool m_bHasRow;
+		};
 
-	typedef boost::shared_ptr<TSQLiteStatement> TSQLiteStatementPtr;
+		typedef boost::shared_ptr<TSQLiteStatement> TSQLiteStatementPtr;
+	}
 }
 
-END_CHCORE_NAMESPACE
-
 #endif