[RAPPS] CMainWindow: make szSearchPattern a member

This commit is contained in:
Giannis Adamopoulos 2019-04-28 16:21:16 +03:00 committed by Mark Jansen
parent ba80f057c5
commit 85d6055201
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
3 changed files with 2 additions and 6 deletions

View file

@ -799,6 +799,8 @@ class CMainWindow :
BOOL bSearchEnabled;
BOOL bUpdating;
ATL::CStringW szSearchPattern;
public:
CMainWindow() :
m_ClientPanel(NULL),

View file

@ -2,9 +2,6 @@
#include <windef.h>
#include <atlstr.h>
class CAvailableApps;
HWND CreateMainWindow();
DWORD_PTR ListViewGetlParam(INT item);
INT ListViewAddItem(INT ItemIndex, INT IconIndex, LPWSTR lpName, LPARAM lParam);
VOID SetStatusBarText(LPCWSTR szText);
@ -17,4 +14,3 @@ VOID NewRichEditText(const ATL::CStringW& szText, DWORD flags);
VOID InsertRichEditText(const ATL::CStringW& szText, DWORD flags);
CAvailableApps * GetAvailableApps();
extern HWND hListView;
extern ATL::CStringW szSearchPattern;

View file

@ -18,8 +18,6 @@ HINSTANCE hInst;
INT SelectedEnumType = ENUM_ALL_INSTALLED;
SETTINGS_INFO SettingsInfo;
ATL::CStringW szSearchPattern;
class CRAppsModule : public CComModule
{
public: