mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[RAPPS] Deleted installdlg.cpp as unused
svn path=/branches/GSoC_2017/rapps/; revision=75811
This commit is contained in:
parent
840044411f
commit
991801248f
3 changed files with 0 additions and 61 deletions
|
@ -10,7 +10,6 @@ list(APPEND SOURCE
|
|||
aboutdlg.cpp
|
||||
available.cpp
|
||||
gui.cpp
|
||||
installdlg.cpp
|
||||
installed.cpp
|
||||
integrity.cpp
|
||||
loaddlg.cpp
|
||||
|
|
|
@ -37,6 +37,3 @@ VOID CreateSettingsDlg(HWND hwnd);
|
|||
|
||||
// About dialog (aboutdlg.cpp)
|
||||
VOID ShowAboutDialog();
|
||||
|
||||
// Installation dialog (installdlg.cpp)
|
||||
//BOOL InstallApplication(INT Index);
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue