Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5B35DD4A2 for ; Mon, 10 Sep 2012 23:57:49 +0000 (UTC) Received: (qmail 18706 invoked by uid 500); 10 Sep 2012 23:57:46 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 18546 invoked by uid 500); 10 Sep 2012 23:57:45 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 17696 invoked by uid 99); 10 Sep 2012 23:57:45 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 23:57:44 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id BC9D7353D4; Mon, 10 Sep 2012 23:57:44 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: purplecabbage@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [39/52] [abbrv] [partial] re-org Message-Id: <20120910235744.BC9D7353D4@tyr.zones.apache.org> Date: Mon, 10 Sep 2012 23:57:44 +0000 (UTC) http://git-wip-us.apache.org/repos/asf/incubator-cordova-windows/blob/03bf0cde/src/cordova-win8/lib/SQLite/SQLite3/SQLite3.vcxproj ---------------------------------------------------------------------- diff --git a/src/cordova-win8/lib/SQLite/SQLite3/SQLite3.vcxproj b/src/cordova-win8/lib/SQLite/SQLite3/SQLite3.vcxproj deleted file mode 100755 index a6a0913..0000000 --- a/src/cordova-win8/lib/SQLite/SQLite3/SQLite3.vcxproj +++ /dev/null @@ -1,201 +0,0 @@ - - - - - Debug - ARM - - - Debug - Win32 - - - Debug - x64 - - - Release - ARM - - - Release - Win32 - - - Release - x64 - - - - - - - false - - - - - - - - - - - $(VCTargetsPath11) - {4cf1ae34-d183-409b-90c3-d62167cff25d} - Win32Proj - SQLite3 - SQLite3 - en-US - 11.0 - true - - - - DynamicLibrary - true - v110 - - - DynamicLibrary - true - v110 - - - DynamicLibrary - true - v110 - - - DynamicLibrary - false - true - v110 - - - DynamicLibrary - false - true - v110 - - - DynamicLibrary - false - true - v110 - - - - - - - - - - - - - - - - - - - - - - - - false - - - false - - - false - - - false - - - false - - - false - - - - NotUsing - SQLITE_OS_WINRT;_WINRT_DLL;%(PreprocessorDefinitions) - $(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories) - - - Console - runtimeobject.lib;%(AdditionalDependencies) - false - - - - - NotUsing - SQLITE_OS_WINRT;_WINRT_DLL;NDEBUG;%(PreprocessorDefinitions) - $(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories) - - - Console - runtimeobject.lib;%(AdditionalDependencies) - false - - - - - NotUsing - SQLITE_OS_WINRT;_WINRT_DLL;%(PreprocessorDefinitions) - $(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories) - - - Console - runtimeobject.lib;%(AdditionalDependencies) - false - - - - - NotUsing - SQLITE_OS_WINRT;_WINRT_DLL;NDEBUG;%(PreprocessorDefinitions) - $(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories) - - - Console - runtimeobject.lib;%(AdditionalDependencies) - false - - - - - NotUsing - SQLITE_OS_WINRT;_WINRT_DLL;%(PreprocessorDefinitions) - $(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories) - - - Console - runtimeobject.lib;%(AdditionalDependencies) - false - - - - - NotUsing - SQLITE_OS_WINRT;_WINRT_DLL;NDEBUG;%(PreprocessorDefinitions) - $(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories) - - - Console - runtimeobject.lib;%(AdditionalDependencies) - false - - - - - - http://git-wip-us.apache.org/repos/asf/incubator-cordova-windows/blob/03bf0cde/src/cordova-win8/lib/SQLite/SQLite3/SQLite3.vcxproj.filters ---------------------------------------------------------------------- diff --git a/src/cordova-win8/lib/SQLite/SQLite3/SQLite3.vcxproj.filters b/src/cordova-win8/lib/SQLite/SQLite3/SQLite3.vcxproj.filters deleted file mode 100755 index a4d2311..0000000 --- a/src/cordova-win8/lib/SQLite/SQLite3/SQLite3.vcxproj.filters +++ /dev/null @@ -1,21 +0,0 @@ - - - - - 47b40cc3-504e-41a2-a86b-f67ec8c7a8a6 - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - - - - - - - - - - - - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-windows/blob/03bf0cde/src/cordova-win8/lib/SQLite/SQLite3/Statement.cpp ---------------------------------------------------------------------- diff --git a/src/cordova-win8/lib/SQLite/SQLite3/Statement.cpp b/src/cordova-win8/lib/SQLite/SQLite3/Statement.cpp deleted file mode 100755 index 30e74d7..0000000 --- a/src/cordova-win8/lib/SQLite/SQLite3/Statement.cpp +++ /dev/null @@ -1,80 +0,0 @@ -#include "Winerror.h" - -#include "Statement.h" -#include "Database.h" - -namespace SQLite3 -{ - Statement::Statement(Database^ database, Platform::String^ sql) - { - int ret = sqlite3_prepare16(database->sqlite, sql->Data(), -1, &statement, 0); - - if (ret != SQLITE_OK) - { - sqlite3_finalize(statement); - - HRESULT hresult = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, ret); - throw ref new Platform::COMException(hresult); - } - } - - Statement::~Statement() - { - sqlite3_finalize(statement); - } - - int Statement::Step() - { - return sqlite3_step(statement); - } - - int Statement::ColumnCount() - { - return sqlite3_column_count(statement); - } - - int Statement::ColumnType(int index) - { - return sqlite3_column_type(statement, index); - } - - Platform::String^ Statement::ColumnName(int index) - { - return ref new Platform::String(static_cast(sqlite3_column_name16(statement, index))); - } - - Platform::String^ Statement::ColumnText(int index) - { - return ref new Platform::String(static_cast(sqlite3_column_text16(statement, index))); - } - - int Statement::ColumnInt(int index) - { - return sqlite3_column_int(statement, index); - } - - double Statement::ColumnDouble(int index) - { - return sqlite3_column_double(statement, index); - } - - int Statement::BindText(int index, Platform::String^ val) - { - return sqlite3_bind_text16(statement, index, val->Data(), -1, SQLITE_TRANSIENT); - } - - int Statement::BindInt(int index, int val) - { - return sqlite3_bind_int(statement, index, val); - } - - int Statement::BindDouble(int index, double val) - { - return sqlite3_bind_double(statement, index, val); - } - - int Statement::BindNull(int index) - { - return sqlite3_bind_null(statement, index); - } -} http://git-wip-us.apache.org/repos/asf/incubator-cordova-windows/blob/03bf0cde/src/cordova-win8/lib/SQLite/SQLite3/Statement.h ---------------------------------------------------------------------- diff --git a/src/cordova-win8/lib/SQLite/SQLite3/Statement.h b/src/cordova-win8/lib/SQLite/SQLite3/Statement.h deleted file mode 100755 index bf55bb8..0000000 --- a/src/cordova-win8/lib/SQLite/SQLite3/Statement.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once - -#include "sqlite3.h" - -namespace SQLite3 -{ - ref class Database; - - public ref class Statement sealed - { - public: - Statement(Database^ database, Platform::String^ sql); - ~Statement(); - - int Step(); - - int ColumnCount(); - int ColumnType(int index); - Platform::String^ ColumnName(int index); - - Platform::String^ ColumnText(int index); - int ColumnInt(int index); - double ColumnDouble(int index); - - int BindText(int index, Platform::String^ val); - int BindInt(int index, int val); - int BindDouble(int index, double val); - int BindNull(int index); - - private: - sqlite3_stmt* statement; - }; -}