download NUserWiz.h
Language: C++
LOC: 55
Project Info
NNIM
Server: SourceForge
Type: cvs
...nnim\GNU\client\wx\include\
   NAbout.h
   NAutoDict.h
   NAutoTxt.h
   NChat.h
   NContact.h
   NContactEdit.h
   NContactTree.h
   NContactTreeXML.h
   NContactWiz.h
   NDerivedClasses.h
   NEvent.h
   newtoc.h
   NInclude.h
   NLog.h
   NLogin.h
   NMain.h
   NNets.h
   NNetworkServer.h
   NPrefGen.h
   NPrefNet.h
   NPrefs.h
   NPrefSec.h
   NProtocol_wdr.h
   NProtocolManager.h
   NResources_wdr.h
   NSocket.h
   NSocketServer.h
   NTaskbar.h
   NTreeCtrlXML.h
   NUserWiz.h
   NWizards_wdr.h
   NXpms.h

#ifndef __GUI_UWIZ_H__
#define __GUI_UWIZ_H__

#include "wx/wizard.h"
#include "crypto/misc.h"
#include <vector>
#include <string>

using namespace std;
using namespace CryptoPP;
class wxListEvent;
class UserWizardP2;
class UserWizardP1 : public wxWizardPageSimple
{
public:

  friend class UserWizardP2;
    // directions in which we allow the user to proceed from this page
    enum
    {
        Forward, Backward, Both, Neither
    };

    UserWizardP1(wxWizard *parent);

    // wizard event handlers
    void OnWizardCancel(wxWizardEvent& event){}

    void OnWizardPageChanging(wxWizardEvent& event){}

    virtual bool TransferDataFromWindow();

private:

  wxTextCtrl * name;
  wxTextCtrl * p1;

    //DECLARE_EVENT_TABLE()
};

class UserWizardP2 : public wxWizardPageSimple
{
public:
    // directions in which we allow the user to proceed from this page
    enum
    {
        AIM, MSN, YAHOO, ICQ, GNU
    };
    enum
    {
        Forward, Backward, Both, Neither
    };

    UserWizardP2(wxWizard *parent);

    // wizard event handlers
    void OnWizardCancel(wxWizardEvent& event)
    {

    }

    void OnWizardPageChanging(wxWizardEvent& event);

    virtual bool TransferDataFromWindow()
    {
      return true;
    }

    void OnAddNet(wxCommandEvent &event);
    void OnRemNet(wxCommandEvent &event);
    void OnSelected(wxListEvent & event);

private:

  long m_selected;
  vector<SecByteBlock> m_pwords;
  DECLARE_EVENT_TABLE()
};

#endif

About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us