~mapopa/flamerobin/master

« back to all changes in this revision

Viewing changes to src/ServerRegistrationInfoFrame.h

  • Committer: Michael Hieke
  • Date: 2004-11-22 11:34:42 UTC
  • Revision ID: git-v1:8153b493d66ee7aae55e7b34e0d7bddacf4999ef
Initial revision

svn path=/trunk/flamerobin/; revision=13

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  The contents of this file are subject to the Initial Developer's Public
 
3
  License Version 1.0 (the "License"); you may not use this file except in
 
4
  compliance with the License. You may obtain a copy of the License here:
 
5
  http://www.flamerobin.org/license.html.
 
6
 
 
7
  Software distributed under the License is distributed on an "AS IS"
 
8
  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 
9
  License for the specific language governing rights and limitations under
 
10
  the License.
 
11
 
 
12
  The Original Code is FlameRobin (TM).
 
13
 
 
14
  The Initial Developer of the Original Code is Milan Babuskov.
 
15
 
 
16
  Portions created by the original developer
 
17
  are Copyright (C) 2004 Milan Babuskov.
 
18
 
 
19
  All Rights Reserved.
 
20
 
 
21
  Contributor(s): Michael Hieke, Nando Dessena
 
22
*/
 
23
 
 
24
// -*- C++ -*- generated by wxGlade 0.2.2 on Fri Jul 02 11:09:50 2004
 
25
 
 
26
#ifndef SERVERREGISTRATIONINFOFRAME_H
 
27
#define SERVERREGISTRATIONINFOFRAME_H
 
28
 
 
29
#include <wx/wx.h>
 
30
#include "metadata/server.h"
 
31
#include "BaseDialog.h"
 
32
 
 
33
 
 
34
class ServerRegistrationInfoFrame: public BaseDialog {
 
35
public:
 
36
    // begin wxGlade: ServerRegistrationInfoFrame::ids
 
37
    enum {
 
38
                ID_textctrl_server = 100,
 
39
        ID_button_ok = wxID_OK ,
 
40
        ID_button_cancel = wxID_CANCEL
 
41
    };
 
42
    // end wxGlade
 
43
 
 
44
        void setServer(YServer *s);
 
45
 
 
46
        // events
 
47
        void OnSettingsChange(wxCommandEvent& event);
 
48
        void OnOkButtonClick(wxCommandEvent& event);
 
49
        void OnCancelButtonClick(wxCommandEvent& event);
 
50
 
 
51
    ServerRegistrationInfoFrame(wxWindow* parent, int id, const wxString& title, 
 
52
        const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, 
 
53
        long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
 
54
 
 
55
private:
 
56
        YServer *serverM;
 
57
 
 
58
    // begin wxGlade: ServerRegistrationInfoFrame::methods
 
59
    void set_properties();
 
60
    void do_layout();
 
61
    // end wxGlade
 
62
        void updateButtons();
 
63
 
 
64
protected:
 
65
    // begin wxGlade: ServerRegistrationInfoFrame::attributes
 
66
    wxStaticText* label_1;
 
67
    wxTextCtrl* text_ctrl_1;
 
68
    wxStaticText* label_2;
 
69
    wxTextCtrl* text_ctrl_2;
 
70
    wxButton* button_ok;
 
71
    wxButton* button_cancel;
 
72
    // end wxGlade
 
73
 
 
74
    DECLARE_EVENT_TABLE()
 
75
    virtual const std::string getName() const;
 
76
};
 
77
 
 
78
 
 
79
#endif // SERVERREGISTRATIONINFOFRAME_H