"Fossies" - the Fresh Open Source Software Archive

Member "src/Main/Forms/VolumePimWizardPage.h" (10 Oct 2018, 1359 Bytes) of package /windows/misc/VeraCrypt_1.23-Hotfix-2_Source.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "VolumePimWizardPage.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  Copyright (c) 2015-2016 Mounir IDRASSI for the VeraCrypt project.
    3 
    4  Licensed under the Apache License, Version 2.0 (the "License");
    5  you may not use this file except in compliance with the License.
    6  You may obtain a copy of the License at
    7 
    8  http://www.apache.org/licenses/LICENSE-2.0
    9 
   10  Unless required by applicable law or agreed to in writing, software
   11  distributed under the License is distributed on an "AS IS" BASIS,
   12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   13  See the License for the specific language governing permissions and
   14  limitations under the License.
   15 */
   16 
   17 #ifndef VC_HEADER_Main_Forms_VolumePimWizardPage
   18 #define VC_HEADER_Main_Forms_VolumePimWizardPage
   19 
   20 #include "Forms.h"
   21 
   22 namespace VeraCrypt
   23 {
   24     class VolumePimWizardPage : public VolumePimWizardPageBase
   25     {
   26     public:
   27         VolumePimWizardPage (wxPanel* parent);
   28         ~VolumePimWizardPage ();
   29 
   30         int GetVolumePim () const;
   31         void SetVolumePim (int pim);
   32         bool IsValid ();
   33         void SetMaxStaticTextWidth (int width) { InfoStaticText->Wrap (width); }
   34         void SetPageText (const wxString &text) { InfoStaticText->SetLabel (text); }
   35         void OnDisplayPimCheckBoxClick( wxCommandEvent& event );
   36 
   37     protected:
   38         void SetPimValidator ();
   39         void OnPimChanged  (wxCommandEvent& event);
   40         void OnPimValueChanged  (int pim);
   41     };
   42 }
   43 
   44 #endif // VC_HEADER_Main_Forms_VolumePimWizardPage