Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CCC2810315 for ; Fri, 31 May 2013 20:23:35 +0000 (UTC) Received: (qmail 30936 invoked by uid 500); 31 May 2013 20:23:35 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 30912 invoked by uid 500); 31 May 2013 20:23:35 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 30772 invoked by uid 99); 31 May 2013 20:23:35 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 20:23:35 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 310FD89EEEC; Fri, 31 May 2013 20:23:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: purplecabbage@apache.org To: commits@cordova.apache.org Date: Fri, 31 May 2013 20:23:40 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [7/7] git commit: deleted solution, simplified proj deleted solution, simplified proj Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/376145b3 Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/376145b3 Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/376145b3 Branch: refs/heads/master Commit: 376145b35becbe9792e420994e868f61aeba36e1 Parents: 0721878 Author: Jesse MacFadyen Authored: Fri May 31 13:21:04 2013 -0700 Committer: Jesse MacFadyen Committed: Fri May 31 13:21:04 2013 -0700 ---------------------------------------------------------------------- .../CordovaWindows8Deploy.cpp | 61 +++++++++++ .../CordovaWindows8Deploy.sln | 20 ---- .../CordovaWindows8Deploy.vcxproj | 85 +++++++++++++++ .../CordovaWindows8Deploy.cpp | 56 ---------- .../CordovaWindows8Deploy.vcxproj | 85 --------------- .../CordovaWindows8Deploy.vcxproj.filters | 18 --- .../cordovawindows8deploy-9703390a.ipch | Bin 77201408 -> 0 bytes 7 files changed, 146 insertions(+), 179 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp ---------------------------------------------------------------------- diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp new file mode 100644 index 0000000..75a59c7 --- /dev/null +++ b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp @@ -0,0 +1,61 @@ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +int _tmain(int argc, _TCHAR* argv[]) +{ + DWORD dwProcessId = 0; + HRESULT hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED); + + if(SUCCEEDED(hr)) + { + if(argc == 2) + { + CComPtr spManifestReader; + + CComPtr spAppActivationManager; + // get IApplicationActivationManager + hr = CoCreateInstance(CLSID_ApplicationActivationManager, + NULL, + CLSCTX_LOCAL_SERVER, + IID_IApplicationActivationManager, + (LPVOID*)&spAppActivationManager); + + // allow it to be launched in the foreground. + if (SUCCEEDED(hr)) + { + hr = CoAllowSetForegroundWindow(spAppActivationManager, NULL); + } + + // Launch it! + if (SUCCEEDED(hr)) + { + hr = spAppActivationManager->ActivateApplication((LPCWSTR)argv[1], + NULL, + AO_NONE, + &dwProcessId); + } + } + else + { + printf("%s","Missing Command Line Argument"); + hr = E_ABORT; + } + CoUninitialize(); + } + + if(SUCCEEDED(hr)) + { + printf("%s","Successfully Deployed."); + } + + return hr; +} + http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.sln ---------------------------------------------------------------------- diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.sln b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.sln deleted file mode 100644 index 970c89f..0000000 --- a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CordovaWindows8Deploy", "CordovaWindows8Deploy\CordovaWindows8Deploy.vcxproj", "{7CE1D306-44A9-40D8-B7CD-135AC2F8150B}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7CE1D306-44A9-40D8-B7CD-135AC2F8150B}.Debug|Win32.ActiveCfg = Debug|Win32 - {7CE1D306-44A9-40D8-B7CD-135AC2F8150B}.Debug|Win32.Build.0 = Debug|Win32 - {7CE1D306-44A9-40D8-B7CD-135AC2F8150B}.Release|Win32.ActiveCfg = Release|Win32 - {7CE1D306-44A9-40D8-B7CD-135AC2F8150B}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj ---------------------------------------------------------------------- diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj new file mode 100644 index 0000000..2b8c4a8 --- /dev/null +++ b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj @@ -0,0 +1,85 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {7CE1D306-44A9-40D8-B7CD-135AC2F8150B} + Win32Proj + CordovaWindows8Deploy + + + + Application + true + v110 + Unicode + + + Application + false + v110 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp ---------------------------------------------------------------------- diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp deleted file mode 100644 index 5b55d34..0000000 --- a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.cpp +++ /dev/null @@ -1,56 +0,0 @@ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int _tmain(int argc, _TCHAR* argv[]) -{ - DWORD dwProcessId = 0; - HRESULT hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED); - - if(SUCCEEDED(hr)) - { - if(argc == 2) - { - CComPtr spManifestReader; - - CComPtr spAppActivationManager; - // get IApplicationActivationManager - hr = CoCreateInstance(CLSID_ApplicationActivationManager, - NULL, - CLSCTX_LOCAL_SERVER, - IID_IApplicationActivationManager, - (LPVOID*)&spAppActivationManager); - - // allow it to be launched in the foreground. - if (SUCCEEDED(hr)) - { - hr = CoAllowSetForegroundWindow(spAppActivationManager, NULL); - } - - // Launch it! - if (SUCCEEDED(hr)) - { - hr = spAppActivationManager->ActivateApplication((LPCWSTR)argv[1], - NULL, - AO_NONE, - &dwProcessId); - } - } - CoUninitialize(); - } - - if(SUCCEEDED(hr)) - { - printf("%s","Successfully Deployed."); - } - - return hr; -} - http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj ---------------------------------------------------------------------- diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj deleted file mode 100644 index 2b8c4a8..0000000 --- a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj +++ /dev/null @@ -1,85 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - {7CE1D306-44A9-40D8-B7CD-135AC2F8150B} - Win32Proj - CordovaWindows8Deploy - - - - Application - true - v110 - Unicode - - - Application - false - v110 - true - Unicode - - - - - - - - - - - - - true - - - false - - - - - - Level3 - Disabled - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - - - Console - true - - - - - Level3 - Use - MaxSpeed - true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - - - Console - true - true - true - - - - - - - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters ---------------------------------------------------------------------- diff --git a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters b/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters deleted file mode 100644 index 74ff009..0000000 --- a/windows8/tooling/CordovaWindows8Deploy/CordovaWindows8Deploy/CordovaWindows8Deploy.vcxproj.filters +++ /dev/null @@ -1,18 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - - - - Source Files - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/376145b3/windows8/tooling/CordovaWindows8Deploy/ipch/cordovawindows8deploy-c95ef552/cordovawindows8deploy-9703390a.ipch ---------------------------------------------------------------------- diff --git a/windows8/tooling/CordovaWindows8Deploy/ipch/cordovawindows8deploy-c95ef552/cordovawindows8deploy-9703390a.ipch b/windows8/tooling/CordovaWindows8Deploy/ipch/cordovawindows8deploy-c95ef552/cordovawindows8deploy-9703390a.ipch deleted file mode 100644 index ac335aa..0000000 Binary files a/windows8/tooling/CordovaWindows8Deploy/ipch/cordovawindows8deploy-c95ef552/cordovawindows8deploy-9703390a.ipch and /dev/null differ