Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginUpdateDialog.h

Issue 10800092: Use libadblockplus update checker (Closed)
Patch Set: Addressed review comments Created June 7, 2013, 5:27 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/PluginUpdateDialog.h
===================================================================
deleted file mode 100644
--- a/src/plugin/PluginUpdateDialog.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// CUpdateDialog
-
-class CUpdateDialog : public CAxDialogImpl<CUpdateDialog>
-{
-
-public:
-
- CUpdateDialog()
- {
- }
-
- ~CUpdateDialog()
- {
- }
-
- enum { IDD = IDD_UPDATEDIALOG };
-
- BEGIN_MSG_MAP(CUpdateDialog)
- MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
- COMMAND_HANDLER(IDOK, BN_CLICKED, OnClickedOK)
- COMMAND_HANDLER(IDCANCEL, BN_CLICKED, OnClickedCancel)
- CHAIN_MSG_MAP(CAxDialogImpl<CUpdateDialog>)
- END_MSG_MAP()
-
- // Handler prototypes:
- LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
- void SetVersions(CString new_version_, CString cur_version);
- LRESULT OnClickedOK(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled)
- {
- EndDialog(wID);
- return 0;
- }
-
- LRESULT OnClickedCancel(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled)
- {
- EndDialog(wID);
- return 1;
- }
-
-private:
-
- CString m_curVersion;
- CString m_newVersion;
-};

Powered by Google App Engine
This is Rietveld