FLImaging 6.10.1.1
GUIPropertyItemPassword.h
1
7#pragma once
8#include "GUIPropertyItemBase.h"
9
11namespace FLImaging
12{
14 namespace GUI
15 {
16 class CInternalPassword;
17
32 {
33 public:
42
51
52 virtual CMFCPropertyGridProperty* CreateGridProperty() override;
53
69 virtual bool SetValue(Base::CFLString<wchar_t> strValue, bool bInvokeCallback = true) override;
70
82 virtual Base::CFLString<wchar_t> GetValue() const override;
83
98
113 virtual bool Load(const Base::CFLString<wchar_t>& strFilePath) override;
114
131 virtual bool Load(const Base::CFLArray<Base::CFLString<wchar_t>>& flaData) override;
132
149 virtual bool Save(const Base::CFLString<wchar_t>& strFilePath) const override;
150
167 virtual bool Save(Base::CFLArray<Base::CFLString<wchar_t>>& flaData) const override;
168
169 private:
170 CInternalPassword* m_pInternal;
171
172 friend class CGUIPropertyGridPropertyPassword;
173 };
174 }
175}
Template type array class.
Definition FLArray.h:53
Template type string class.
Definition FLString.h:34
CGUIPropertyItemBase()
Default constructor.
virtual Base::CFLString< wchar_t > GetValue() const override
Returns the password in its encoded (non-plaintext) form.
static Base::CFLString< wchar_t > EncodePassword(const Base::CFLString< wchar_t > &strPlainText)
Encode a plaintext password and return the encoded representation.
CGUIPropertyItemPassword()
Default constructor.
virtual bool Load(const Base::CFLString< wchar_t > &strFilePath) override
For security reasons, this function has an empty implementation. It performs no action and always ret...
virtual bool Save(const Base::CFLString< wchar_t > &strFilePath) const override
For security reasons, this function has an empty implementation. It performs no action and always ret...
virtual ~CGUIPropertyItemPassword()
Destructor.
virtual bool Save(Base::CFLArray< Base::CFLString< wchar_t > > &flaData) const override
For security reasons, this function has an empty implementation. It performs no action and always ret...
virtual CMFCPropertyGridProperty * CreateGridProperty() override
Creates and returns a new grid property associated with this.
virtual bool Load(const Base::CFLArray< Base::CFLString< wchar_t > > &flaData) override
For security reasons, this function has an empty implementation. It performs no action and always ret...
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
Set the plain text password string.
Definition D2DObject.h:12