| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513 |
- //----------------------------------------------------------------------------
- #ifndef LoginH
- #define LoginH
- //----------------------------------------------------------------------------
- #include "ComboEdit.hpp"
- #include "GeneralSettings.h"
- #include "LogSettings.h"
- #include "PasswordEdit.hpp"
- #include "UpDownEdit.hpp"
- #include <System.Classes.hpp>
- #include <Vcl.ActnList.hpp>
- #include <Vcl.ComCtrls.hpp>
- #include <Vcl.Controls.hpp>
- #include <Vcl.ExtCtrls.hpp>
- #include <Vcl.Forms.hpp>
- #include <Vcl.ImgList.hpp>
- #include <Vcl.Mask.hpp>
- #include <Vcl.Menus.hpp>
- #include <Vcl.StdCtrls.hpp>
- //----------------------------------------------------------------------------
- #include <Configuration.h>
- #include <SessionData.h>
- #include <PasTools.hpp>
- #include "LogSettings.h"
- #include "GeneralSettings.h"
- #include "PngImageList.hpp"
- //----------------------------------------------------------------------------
- class TLoginDialog : public TForm
- {
- __published:
- TButton *LoginButton;
- TButton *CloseButton;
- TButton *AboutButton;
- TActionList *ActionList;
- TAction *EditSessionAction;
- TAction *SaveSessionAction;
- TAction *DeleteSessionAction;
- TAction *ImportSessionsAction;
- TAction *LoginAction;
- TAction *AboutAction;
- TAction *CleanUpAction;
- TAction *NewSessionAction;
- TPanel *MainPanel;
- TPageControl *PageControl;
- TTabSheet *SessionListSheet;
- TButton *LoadButton;
- TButton *DeleteButton;
- TTreeView *SessionTree;
- TButton *NewButton;
- TTabSheet *BasicSheet;
- TTabSheet *AdvancedSheet;
- TGroupBox *ProtocolGroup;
- TLabel *Label7;
- TRadioButton *SshProt1Button;
- TRadioButton *SshProt2Button;
- TCheckBox *CompressionCheck;
- TTabSheet *EnvironmentSheet;
- TTabSheet *ScpSheet;
- TGroupBox *OtherShellOptionsGroup;
- TCheckBox *LookupUserGroupsCheck;
- TCheckBox *ClearAliasesCheck;
- TCheckBox *UnsetNationalVarsCheck;
- TCheckBox *Scp1CompatibilityCheck;
- TGroupBox *ShellGroup;
- TComboBox *ShellEdit;
- TTabSheet *LogSheet;
- TLoggingFrame *LoggingFrame;
- TTabSheet *GeneralSheet;
- TLabel *Label13;
- TButton *PreferencesButton;
- TGeneralSettingsFrame *GeneralSettingsFrame;
- TPanel *LeftPanel;
- TTreeView *NavigationTree;
- TCheckBox *ShowAdvancedLoginOptionsCheck;
- TGroupBox *BasicGroup;
- TLabel *Label1;
- TLabel *Label2;
- TLabel *Label3;
- TLabel *Label4;
- TLabel *PrivateKeyLabel;
- TEdit *HostNameEdit;
- TEdit *UserNameEdit;
- TPasswordEdit *PasswordEdit;
- TUpDownEdit *PortNumberEdit;
- TFilenameEdit *PrivateKeyEdit;
- TTabSheet *ConnSheet;
- TGroupBox *TimeoutGroup;
- TLabel *Label11;
- TLabel *Label12;
- TUpDownEdit *TimeoutEdit;
- TTabSheet *ProxySheet;
- TGroupBox *ProxyTypeGroup;
- TLabel *ProxyHostLabel;
- TLabel *ProxyPortLabel;
- TUpDownEdit *ProxyPortEdit;
- TEdit *ProxyHostEdit;
- TEdit *ProxyUsernameEdit;
- TLabel *ProxyUsernameLabel;
- TLabel *ProxyPasswordLabel;
- TPasswordEdit *ProxyPasswordEdit;
- TGroupBox *ProxySettingsGroup;
- TLabel *ProxyTelnetCommandLabel;
- TEdit *ProxyTelnetCommandEdit;
- TTabSheet *BugsSheet;
- TGroupBox *BugsGroupBox;
- TLabel *BugIgnore1Label;
- TComboBox *BugIgnore1Combo;
- TLabel *BugPlainPW1Label;
- TComboBox *BugPlainPW1Combo;
- TLabel *BugRSA1Label;
- TComboBox *BugRSA1Combo;
- TLabel *BugHMAC2Label;
- TComboBox *BugHMAC2Combo;
- TLabel *BugDeriveKey2Label;
- TComboBox *BugDeriveKey2Combo;
- TLabel *BugRSAPad2Label;
- TComboBox *BugRSAPad2Combo;
- TRadioButton *SshProt1onlyButton;
- TRadioButton *SshProt2onlyButton;
- TTabSheet *AuthSheet;
- TGroupBox *AuthenticationGroup;
- TCheckBox *AuthTISCheck;
- TCheckBox *AuthKICheck;
- TGroupBox *EncryptionGroup;
- TListBox *CipherListBox;
- TLabel *Label8;
- TCheckBox *Ssh2LegacyDESCheck;
- TButton *CipherUpButton;
- TButton *CipherDownButton;
- TButton *SetDefaultSessionButton;
- TAction *SetDefaultSessionAction;
- TButton *ToolsMenuButton;
- TPopupMenu *ToolsPopupMenu;
- TMenuItem *Import1;
- TMenuItem *Cleanup1;
- TButton *ShellIconsButton;
- TAction *DesktopIconAction;
- TGroupBox *EnvironmentGroup;
- TPopupMenu *IconsPopupMenu;
- TMenuItem *Desktopicon1;
- TAction *SendToHookAction;
- TMenuItem *ExplorersSendtoshortcut1;
- TLabel *BugPKSessID2Label;
- TComboBox *BugPKSessID2Combo;
- TCheckBox *ProxyLocalhostCheck;
- TLabel *Label17;
- TAction *CheckForUpdatesAction;
- TMenuItem *CheckForUpdates1;
- TButton *SaveButton;
- TButton *LanguagesButton;
- TGroupBox *PingGroup;
- TLabel *PingIntervalLabel;
- TUpDownEdit *PingIntervalSecEdit;
- TRadioButton *PingOffButton;
- TRadioButton *PingNullPacketButton;
- TRadioButton *PingDummyCommandButton;
- TCheckBox *AuthKIPasswordCheck;
- TTabSheet *DirectoriesSheet;
- TGroupBox *DirectoriesGroup;
- TLabel *LocalDirectoryLabel;
- TLabel *RemoteDirectoryLabel;
- TLabel *LocalDirectoryDescLabel;
- TDirectoryEdit *LocalDirectoryEdit;
- TEdit *RemoteDirectoryEdit;
- TCheckBox *UpdateDirectoriesCheck;
- TCheckBox *CacheDirectoriesCheck;
- TCheckBox *ResolveSymlinksCheck;
- TCheckBox *CacheDirectoryChangesCheck;
- TCheckBox *PreserveDirectoryChangesCheck;
- TGroupBox *DSTModeGroup;
- TRadioButton *DSTModeUnixCheck;
- TRadioButton *DSTModeWinCheck;
- TGroupBox *ScpLsOptionsGroup;
- TCheckBox *IgnoreLsWarningsCheck;
- TCheckBox *SCPLsFullTimeAutoCheck;
- TTabSheet *SftpSheet;
- TGroupBox *SFTPBugsGroupBox;
- TLabel *Label10;
- TLabel *Label36;
- TComboBox *SFTPBugSymlinkCombo;
- TTabSheet *KexSheet;
- TGroupBox *KexOptionsGroup;
- TLabel *Label28;
- TListBox *KexListBox;
- TButton *KexUpButton;
- TButton *KexDownButton;
- TGroupBox *KexReexchangeGroup;
- TLabel *Label31;
- TUpDownEdit *RekeyTimeEdit;
- TLabel *Label32;
- TEdit *RekeyDataEdit;
- TGroupBox *IPvGroup;
- TRadioButton *IPAutoButton;
- TRadioButton *IPv4Button;
- TRadioButton *IPv6Button;
- TLabel *BugRekey2Label;
- TComboBox *BugRekey2Combo;
- TGroupBox *SFTPProtocolGroup;
- TLabel *Label34;
- TComboBox *SFTPMaxVersionCombo;
- TComboBox *SFTPBugSignedTSCombo;
- TButton *HelpButton;
- TButton *ColorButton;
- TPopupMenu *ColorPopupMenu;
- TMenuItem *ColorDefaultItem;
- TMenuItem *PickColorItem;
- TImageList *ColorImageList;
- TButton *RenameButton;
- TAction *RenameSessionAction;
- TGroupBox *DirectoryOptionsGroup;
- TTabSheet *TunnelSheet;
- TGroupBox *TunnelSessionGroup;
- TLabel *Label6;
- TLabel *Label14;
- TLabel *Label15;
- TLabel *Label16;
- TLabel *Label18;
- TEdit *TunnelHostNameEdit;
- TEdit *TunnelUserNameEdit;
- TPasswordEdit *TunnelPasswordEdit;
- TUpDownEdit *TunnelPortNumberEdit;
- TFilenameEdit *TunnelPrivateKeyEdit;
- TLabel *Label19;
- TComboBox *ReturnVarEdit;
- TLabel *Label20;
- TGroupBox *AuthenticationParamsGroup;
- TCheckBox *AgentFwdCheck;
- TCheckBox *TunnelCheck;
- TGroupBox *TunnelOptionsGroup;
- TLabel *Label21;
- TComboBox *TunnelLocalPortNumberEdit;
- TRadioButton *DSTModeKeepCheck;
- TGroupBox *ConnectionGroup;
- TCheckBox *FtpPasvModeCheck;
- TTabSheet *RecycleBinSheet;
- TGroupBox *RecycleBinGroup;
- TLabel *RecycleBinPathLabel;
- TCheckBox *DeleteToRecycleBinCheck;
- TCheckBox *OverwrittenToRecycleBinCheck;
- TEdit *RecycleBinPathEdit;
- TLabel *EOLTypeLabel;
- TComboBox *EOLTypeCombo;
- TLabel *UtfLabel;
- TComboBox *UtfCombo;
- TLabel *TimeDifferenceLabel;
- TUpDownEdit *TimeDifferenceEdit;
- TLabel *TimeDifferenceHoursLabel;
- TUpDownEdit *TimeDifferenceMinutesEdit;
- TLabel *TimeDifferenceMinutesLabel;
- TAction *ShellIconSessionAction;
- TLabel *Label9;
- TComboBox *ListingCommandEdit;
- TCheckBox *SshNoUserAuthCheck;
- TCheckBox *TryAgentCheck;
- TLabel *ProxyMethodLabel;
- TComboBox *SshProxyMethodCombo;
- TComboBox *ProxyDNSCombo;
- TComboBox *FtpProxyMethodCombo;
- TLabel *ProxyLocalCommandLabel;
- TEdit *ProxyLocalCommandEdit;
- TButton *ProxyLocalCommandBrowseButton;
- TStaticText *ProxyTelnetCommandHintText;
- TStaticText *ProxyLocalCommandHintText;
- TPngImageList *SessionImageList;
- TButton *NewFolderButton;
- TAction *NewSessionFolderAction;
- TGroupBox *FtpPingGroup;
- TLabel *FtpPingIntervalLabel;
- TUpDownEdit *FtpPingIntervalSecEdit;
- TRadioButton *FtpPingOffButton;
- TRadioButton *FtpPingNullPacketButton;
- TRadioButton *FtpPingDummyCommandButton;
- TLabel *Label23;
- TComboBox *SftpServerEdit;
- TTabSheet *FtpSheet;
- TGroupBox *FtpGroup;
- TLabel *Label25;
- TMemo *PostLoginCommandsMemo;
- TLabel *BugMaxPkt2Label;
- TComboBox *BugMaxPkt2Combo;
- TLabel *FtpListAllLabel;
- TComboBox *FtpListAllCombo;
- TComboBox *FtpForcePasvIpCombo;
- TLabel *Label22;
- TComboBox *TransferProtocolCombo;
- TComboBox *FtpsCombo;
- TCheckBox *AllowScpFallbackCheck;
- TLabel *FtpsLabel;
- TEdit *FtpAccountEdit;
- TLabel *FtpAccountLabel;
- TCheckBox *AnonymousLoginCheck;
- TCheckBox *BufferSizeCheck;
- TCheckBox *SynchronizeBrowsingCheck;
- TGroupBox *GSSAPIGroup;
- TCheckBox *AuthGSSAPICheck3;
- TCheckBox *GSSAPIFwdTGTCheck;
- TLabel *BugIgnore2Label;
- TComboBox *BugIgnore2Combo;
- TPopupMenu *SaveDropDownMenu;
- TMenuItem *Save1;
- TMenuItem *Setdefaults1;
- TGroupBox *BasicFtpGroup;
- TGroupBox *BasicSshGroup;
- TLabel *WebDavsLabel;
- TComboBox *WebDavsCombo;
- TComboBox *WebDavProxyMethodCombo;
- TMenuItem *N1;
- TMenuItem *N2;
- TMenuItem *Pageant1;
- TMenuItem *Puttygen1;
- TAction *RunPageantAction;
- TAction *RunPuttygenAction;
- TLabel *Label24;
- TComboBox *FtpUseMlsdCombo;
- TLabel *FtpForcePasvIpLabel;
- TAction *ImportAction;
- TAction *ExportAction;
- TMenuItem *N3;
- TMenuItem *ImportConfiguration1;
- TMenuItem *ExportConfiguration1;
- TStaticText *SitesIncrementalSearchLabel;
- void __fastcall DataChange(TObject *Sender);
- void __fastcall FormShow(TObject *Sender);
- void __fastcall SessionTreeDblClick(TObject *Sender);
- void __fastcall SessionTreeKeyDown(TObject *Sender, WORD &Key,
- TShiftState Shift);
- void __fastcall EditSessionActionExecute(TObject *Sender);
- void __fastcall SaveSessionActionExecute(TObject *Sender);
- void __fastcall DeleteSessionActionExecute(TObject *Sender);
- void __fastcall ImportSessionsActionExecute(TObject *Sender);
- void __fastcall CleanUpActionExecute(TObject *Sender);
- void __fastcall AboutActionExecute(TObject *Sender);
- void __fastcall ActionListUpdate(TBasicAction *Action,
- bool &Handled);
- void __fastcall PreferencesButtonClick(TObject *Sender);
- void __fastcall NewSessionActionExecute(TObject *Sender);
- void __fastcall NavigationTreeChange(TObject *Sender, TTreeNode *Node);
- void __fastcall PageControlChange(TObject *Sender);
- void __fastcall AlgListBoxStartDrag(TObject *Sender,
- TDragObject *&DragObject);
- void __fastcall AlgListBoxDragOver(TObject *Sender, TObject *Source,
- int X, int Y, TDragState State, bool &Accept);
- void __fastcall AlgListBoxDragDrop(TObject *Sender, TObject *Source,
- int X, int Y);
- void __fastcall CipherButtonClick(TObject *Sender);
- void __fastcall SetDefaultSessionActionExecute(TObject *Sender);
- void __fastcall ToolsMenuButtonClick(TObject *Sender);
- void __fastcall DesktopIconActionExecute(TObject *Sender);
- void __fastcall SendToHookActionExecute(TObject *Sender);
- void __fastcall CheckForUpdatesActionExecute(TObject *Sender);
- void __fastcall LanguagesButtonClick(TObject *Sender);
- void __fastcall AuthGSSAPICheck3Click(TObject *Sender);
- void __fastcall KexButtonClick(TObject *Sender);
- void __fastcall HelpButtonClick(TObject *Sender);
- void __fastcall PrivateKeyEditAfterDialog(TObject *Sender,
- UnicodeString &Name, bool &Action);
- void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
- void __fastcall ColorButtonClick(TObject *Sender);
- void __fastcall ColorDefaultItemClick(TObject *Sender);
- void __fastcall PickColorItemClick(TObject *Sender);
- void __fastcall RenameSessionActionExecute(TObject * Sender);
- void __fastcall PathEditBeforeDialog(TObject *Sender, UnicodeString &Name,
- bool &Action);
- void __fastcall TransferProtocolComboChange(TObject *Sender);
- void __fastcall NavigationTreeCollapsing(TObject *Sender,
- TTreeNode *Node, bool &AllowCollapse);
- void __fastcall ShellIconSessionActionExecute(TObject *Sender);
- void __fastcall ProxyLocalCommandBrowseButtonClick(TObject *Sender);
- void __fastcall SessionTreeChange(TObject *Sender, TTreeNode *Node);
- void __fastcall SessionTreeEdited(TObject *Sender, TTreeNode *Node,
- UnicodeString &S);
- void __fastcall SessionTreeEditing(TObject *Sender, TTreeNode *Node,
- bool &AllowEdit);
- void __fastcall SessionTreeCustomDrawItem(TCustomTreeView *Sender,
- TTreeNode *Node, TCustomDrawState State, bool &DefaultDraw);
- void __fastcall SessionTreeExpandedCollapsed(TObject *Sender, TTreeNode *Node);
- void __fastcall SessionTreeCompare(TObject *Sender, TTreeNode *Node1,
- TTreeNode *Node2, int Data, int &Compare);
- void __fastcall NewSessionFolderActionExecute(TObject *Sender);
- void __fastcall SessionTreeStartDrag(TObject *Sender,
- TDragObject *&DragObject);
- void __fastcall SessionTreeDragDrop(TObject *Sender, TObject *Source,
- int X, int Y);
- void __fastcall SessionTreeMouseMove(TObject *Sender, TShiftState Shift,
- int X, int Y);
- void __fastcall SessionTreeEndDrag(TObject *Sender, TObject *Target,
- int X, int Y);
- void __fastcall AnonymousLoginCheckClick(TObject *Sender);
- void __fastcall SaveButtonDropDownClick(TObject *Sender);
- void __fastcall SessionTreeExpanding(TObject *Sender, TTreeNode *Node, bool &AllowExpansion);
- void __fastcall RunPageantActionExecute(TObject *Sender);
- void __fastcall RunPuttygenActionExecute(TObject *Sender);
- void __fastcall PortNumberEditChange(TObject *Sender);
- void __fastcall ExportActionExecute(TObject *Sender);
- void __fastcall ImportActionExecute(TObject *Sender);
- void __fastcall SessionTreeKeyPress(TObject *Sender, System::WideChar &Key);
- void __fastcall SessionTreeExit(TObject *Sender);
- private:
- int NoUpdate;
- TSessionData * FSessionData;
- TSessionData * FEditingSessionData;
- TStoredSessionList * FStoredSessions;
- int FAlgDragSource, FAlgDragDest;
- int FOptions;
- TPopupMenu * FLanguagesPopupMenu;
- bool FInitialized;
- TTabSheet * FSavedTab;
- int FSavedSession;
- bool FLocaleChanging;
- void * FSystemSettings;
- UnicodeString FCurrentSessionName;
- TColor FColor;
- UnicodeString FBeforeDialogPath;
- TStringList * FTreeLabels;
- TWndMethod FOldSessionTreeProc;
- TTreeNode * FHintNode;
- TTreeViewScrollOnDragOver * FScrollOnDragOver;
- int FDefaultPort;
- TList * FDataList;
- bool FUpdatePortWithProtocol;
- UnicodeString FSitesIncrementalSearch;
- int FIncrementalSearching;
- bool FSitesIncrementalSearchHaveNext;
- void __fastcall LoadSession(TSessionData * aSessionData);
- void __fastcall UpdateControls();
- void __fastcall SetSessionData(TSessionData * value);
- TSessionData * __fastcall GetSessionData();
- void __fastcall SaveSession(TSessionData * aStoredSession);
- void __fastcall LoadSessions();
- TSessionData * __fastcall GetSelectedSession();
- void __fastcall CMDialogKey(TWMKeyDown & Message);
- void __fastcall WMHelp(TWMHelp & Message);
- int __fastcall FSProtocolToIndex(TFSProtocol FSProtocol, bool & AllowScpFallback);
- TFSProtocol __fastcall IndexToFSProtocol(int Index, bool AllowScpFallback);
- int __fastcall LastSupportedFtpProxyMethod();
- bool __fastcall SupportedFtpProxyMethod(int Method);
- int __fastcall GetSupportedFtpProxyMethod(int Method);
- int __fastcall GetSupportedWebDavProxyMethod(int Method);
- TProxyMethod __fastcall GetProxyMethod();
- int __fastcall GetFtpProxyLogonType();
- TFtps __fastcall GetFtps();
- TFSProtocol __fastcall GetFSProtocol();
- bool __fastcall IsSshProtocol(TFSProtocol FSProtocol);
- void __fastcall UpdateNavigationTree();
- void __fastcall UpdateTree(TTreeNode * ANode, bool Recursive);
- void __fastcall UpdateFolderNode(TTreeNode * Node);
- TTreeNode * __fastcall AddSession(TSessionData * Data);
- TTreeNode * __fastcall AddSessionPath(UnicodeString Path,
- bool CanCreate, bool IsWorkspace);
- void __fastcall DestroySession(TSessionData * Data);
- void __fastcall CheckDuplicateFolder(TTreeNode * Parent, UnicodeString Text,
- TTreeNode * Node);
- void __fastcall CheckIsSessionFolder(TTreeNode * Node);
- void __fastcall NewSessionFolderInputDialogInitialize(
- TObject * Sender, TInputDialogData * Data);
- UnicodeString __fastcall SessionNodePath(TTreeNode * Node);
- TTreeNode * __fastcall SessionFolderNode(TTreeNode * Node);
- TTreeNode * __fastcall CurrentSessionFolderNode();
- void __fastcall SessionTreeProc(TMessage & Message);
- bool __fastcall SessionAllowDrop(TTreeNode * DropTarget);
- int __fastcall DefaultPort();
- void __fastcall MasterPasswordRecrypt(TObject * Sender);
- void __fastcall SaveOpenedStoredSessionFolders(
- TTreeNode * Node, TStrings * OpenedStoredSessionFolders);
- void __fastcall LoadOpenedStoredSessionFolders(
- TTreeNode * Node, TStrings * OpenedStoredSessionFolders);
- bool __fastcall HasNodeAnySession(TTreeNode * Node, bool NeedCanLogin = false);
- void __fastcall SaveDataList(TList * DataList);
- inline bool __fastcall IsFolderNode(TTreeNode * Node);
- inline bool __fastcall IsWorkspaceNode(TTreeNode * Node);
- inline bool __fastcall IsFolderOrWorkspaceNode(TTreeNode * Node);
- inline bool __fastcall IsSessionNode(TTreeNode * Node);
- inline TSessionData * __fastcall GetNodeSession(TTreeNode * Node);
- void __fastcall ExecuteTool(const UnicodeString & Name);
- UnicodeString __fastcall ImportExportIniFilePath();
- void __fastcall ReloadSessions();
- void __fastcall ResetSitesIncrementalSearch();
- bool __fastcall SitesIncrementalSearch(const UnicodeString & Text,
- bool SkipCurrent, bool Reverse);
- TTreeNode * __fastcall SearchSite(const UnicodeString & Text,
- bool AllowExpanding, bool SkipCurrent, bool Reverse);
- TTreeNode * __fastcall GetNextNode(TTreeNode * Node, bool Reverse);
- protected:
- void __fastcall Default();
- void __fastcall LoadConfiguration();
- void __fastcall SaveConfiguration();
- void __fastcall LoadState();
- void __fastcall SaveState();
- void __fastcall ShowPreferencesDialog();
- void __fastcall ChangePage(TTabSheet * Tab);
- virtual void __fastcall Dispatch(void * Message);
- bool __fastcall AllowAlgDrag(TListBox * AlgListBox, int X, int Y);
- void __fastcall AlgMove(TListBox * AlgListBox, int Source, int Dest);
- void __fastcall LocaleClick(TObject * Sender);
- void __fastcall LocaleGetClick(TObject * Sender);
- void __fastcall Init();
- void __fastcall InitControls();
- void __fastcall VerifyKey(UnicodeString FileName, bool TypeOnly);
- void __fastcall EditSession();
- __property TSessionData * SelectedSession = { read=GetSelectedSession };
- public:
- virtual __fastcall TLoginDialog(TComponent* AOwner);
- __fastcall ~TLoginDialog();
- void __fastcall Init(TStoredSessionList *SessionList, int Options);
- bool __fastcall Execute(TList * DataList);
- };
- //----------------------------------------------------------------------------
- #endif
|