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.
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
12
The Original Code is FlameRobin (TM).
14
The Initial Developer of the Original Code is Milan Babuskov.
16
Portions created by the original developer
17
are Copyright (C) 2004 Milan Babuskov.
21
Contributor(s): Michael Hieke, Nando Dessena
24
// -*- C++ -*- generated by wxGlade 0.2.2 on Fri Jul 02 11:09:50 2004
26
#ifndef SERVERREGISTRATIONINFOFRAME_H
27
#define SERVERREGISTRATIONINFOFRAME_H
30
#include "metadata/server.h"
31
#include "BaseDialog.h"
34
class ServerRegistrationInfoFrame: public BaseDialog {
36
// begin wxGlade: ServerRegistrationInfoFrame::ids
38
ID_textctrl_server = 100,
39
ID_button_ok = wxID_OK ,
40
ID_button_cancel = wxID_CANCEL
44
void setServer(YServer *s);
47
void OnSettingsChange(wxCommandEvent& event);
48
void OnOkButtonClick(wxCommandEvent& event);
49
void OnCancelButtonClick(wxCommandEvent& event);
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);
58
// begin wxGlade: ServerRegistrationInfoFrame::methods
59
void set_properties();
65
// begin wxGlade: ServerRegistrationInfoFrame::attributes
66
wxStaticText* label_1;
67
wxTextCtrl* text_ctrl_1;
68
wxStaticText* label_2;
69
wxTextCtrl* text_ctrl_2;
71
wxButton* button_cancel;
75
virtual const std::string getName() const;
79
#endif // SERVERREGISTRATIONINFOFRAME_H