[RAPPS] Deleted installdlg.cpp as unused

svn path=/branches/GSoC_2017/rapps/; revision=75811
This commit is contained in:
Alexander Shaposhnikov 2017-09-09 19:12:41 +00:00
parent 840044411f
commit 991801248f
3 changed files with 0 additions and 61 deletions

View file

@ -10,7 +10,6 @@ list(APPEND SOURCE
aboutdlg.cpp
available.cpp
gui.cpp
installdlg.cpp
installed.cpp
integrity.cpp
loaddlg.cpp

View file

@ -37,6 +37,3 @@ VOID CreateSettingsDlg(HWND hwnd);
// About dialog (aboutdlg.cpp)
VOID ShowAboutDialog();
// Installation dialog (installdlg.cpp)
//BOOL InstallApplication(INT Index);

View file

@ -1,57 +0,0 @@
/*
* PROJECT: ReactOS Applications Manager
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/rapps/installdlg.cpp
* PURPOSE: "Download and Install" Dialog
* PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org)
*/
#include "defines.h"
#include "dialogs.h"
#include "available.h"
static CAvailableApplicationInfo* AppInfo;
static
INT_PTR CALLBACK
InstallDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
{
switch (Msg)
{
case WM_INITDIALOG:
{
}
break;
case WM_COMMAND:
{
switch (LOWORD(wParam))
{
case IDOK:
case IDCANCEL:
EndDialog(hDlg, LOWORD(wParam));
break;
}
}
break;
}
return FALSE;
}
BOOL
InstallApplication(INT Index)
{
if (!IsAvailableEnum(SelectedEnumType))
return FALSE;
AppInfo = (CAvailableApplicationInfo*) ListViewGetlParam(Index);
if (!AppInfo) return FALSE;
DialogBoxW(hInst,
MAKEINTRESOURCEW(IDD_INSTALL_DIALOG),
hMainWnd,
InstallDlgProc);
return TRUE;
}