File: ConnectDialog.h

package info (click to toggle)
pwlib 1.10.2-2%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 12,112 kB
  • ctags: 14,989
  • sloc: cpp: 109,883; ansic: 6,061; sh: 2,929; makefile: 1,054; yacc: 861; asm: 161
file content (96 lines) | stat: -rw-r--r-- 2,584 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/////////////////////////////////////////////////////////////////////////////
// Name:        ConnectDialog.h
// Purpose:     
// Author:      Federico Pinna
// Modified by: 
// Created:     05/02/04 16:23:19
// RCS-ID:      
// Copyright:   (c) 2004 Reitek S.p.A.
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _CONNECTDIALOG_H_
#define _CONNECTDIALOG_H_

#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "ConnectDialog.cxx"
#endif

/*!
 * Includes
 */

////@begin includes
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_DIALOG 10000
#define SYMBOL__CONNECTDIALOG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
#define SYMBOL__CONNECTDIALOG_TITLE _("Connect")
#define SYMBOL__CONNECTDIALOG_IDNAME ID_DIALOG
#define SYMBOL__CONNECTDIALOG_SIZE wxSize(400, 300)
#define SYMBOL__CONNECTDIALOG_POSITION wxDefaultPosition
#define ID_TEXTCTRL 10001
#define ID_TEXTCTRL1 10002
#define ID_CHECKBOX 10003
////@end control identifiers

/*!
 * Compatibility
 */

#ifndef wxCLOSE_BOX
#define wxCLOSE_BOX 0x1000
#endif

/*!
 * _ConnectDialog class declaration
 */

class _ConnectDialog: public wxDialog
{    
    DECLARE_CLASS( _ConnectDialog )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    _ConnectDialog( );
    _ConnectDialog( wxWindow* parent, wxWindowID id = SYMBOL__CONNECTDIALOG_IDNAME, const wxString& caption = SYMBOL__CONNECTDIALOG_TITLE, const wxPoint& pos = SYMBOL__CONNECTDIALOG_POSITION, const wxSize& size = SYMBOL__CONNECTDIALOG_SIZE, long style = SYMBOL__CONNECTDIALOG_STYLE );

    /// Creation
    bool Create( wxWindow* parent, wxWindowID id = SYMBOL__CONNECTDIALOG_IDNAME, const wxString& caption = SYMBOL__CONNECTDIALOG_TITLE, const wxPoint& pos = SYMBOL__CONNECTDIALOG_POSITION, const wxSize& size = SYMBOL__CONNECTDIALOG_SIZE, long style = SYMBOL__CONNECTDIALOG_STYLE );

    /// Creates the controls and sizers
    void CreateControls();

////@begin _ConnectDialog event handler declarations

////@end _ConnectDialog event handler declarations

////@begin _ConnectDialog member function declarations

////@end _ConnectDialog member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin _ConnectDialog member variables
    wxTextCtrl* m_JID;
    wxTextCtrl* m_Pwd;
    wxCheckBox* m_RememberPwd;
////@end _ConnectDialog member variables
};

#endif
    // _CONNECTDIALOG_H_