diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-12-08 04:42:36 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2017-12-08 05:05:53 +0300 |
commit | b3d3b95a16be5b1785681f0f6fdc3bcdb967a42e (patch) | |
tree | d507c610892797e467f8a0b1fc5d8b088b1e6bee /plugins/New_GPG/src/ui.h | |
parent | 75f678d3a4f23536e2170582dabd740eb195fa17 (diff) |
new_gpg: get rid of "extern chaos"
- moving ui related code to separated file, split definition and implementation of ui
Diffstat (limited to 'plugins/New_GPG/src/ui.h')
-rwxr-xr-x | plugins/New_GPG/src/ui.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/plugins/New_GPG/src/ui.h b/plugins/New_GPG/src/ui.h new file mode 100755 index 0000000000..5c017b7e1f --- /dev/null +++ b/plugins/New_GPG/src/ui.h @@ -0,0 +1,63 @@ +// Copyright © 2017 sss +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifndef UI_H +#define UI_H + + +class CDlgEncryptedFileMsgBox : public CDlgBase +{ +public: + CDlgEncryptedFileMsgBox(); + virtual void OnInitDialog() override; + virtual void OnDestroy() override; + void onClick_IGNORE(CCtrlButton*); + void onClick_DECRYPT(CCtrlButton*); + +private: + CCtrlCheck chk_REMEMBER; + CCtrlButton btn_IGNORE, btn_DECRYPT; +}; + +class CDlgExportKeysMsgBox : public CDlgBase +{ +public: + CDlgExportKeysMsgBox(); + virtual void OnInitDialog() override; + virtual void OnDestroy() override; + void onClick_OK(CCtrlButton*); + void onClick_CANCEL(CCtrlButton*); + +private: + CCtrlButton btn_OK, btn_CANCEL; + CCtrlCheck chk_PUBLIC, chk_PRIVATE, chk_ALL; +}; + +class CDlgChangePasswdMsgBox : public CDlgBase //always modal +{ +public: + CDlgChangePasswdMsgBox(); + virtual void OnDestroy() override; + void onClick_OK(CCtrlButton*); +private: + CCtrlButton btn_OK; + CCtrlEdit edit_NEW_PASSWD1, edit_NEW_PASSWD2, edit_OLD_PASSWD; +}; + + + + +#endif // UI_H
\ No newline at end of file |