]> git.sesse.net Git - vlc/blob - plugins/win32/network.h
* Added a win32 interface plugin, developed with Borland C++ Builder.
[vlc] / plugins / win32 / network.h
1 /*****************************************************************************\r
2  * network.h: the "network" dialog box\r
3  *****************************************************************************\r
4  * Copyright (C) 2002 VideoLAN\r
5  *\r
6  * Authors: Olivier Teuliere <ipkiss@via.ecp.fr>\r
7  *\r
8  * This program is free software; you can redistribute it and/or modify\r
9  * it under the terms of the GNU General Public License as published by\r
10  * the Free Software Foundation; either version 2 of the License, or\r
11  * (at your option) any later version.\r
12  * \r
13  * This program is distributed in the hope that it will be useful,\r
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
16  * GNU General Public License for more details.\r
17  *\r
18  * You should have received a copy of the GNU General Public License\r
19  * along with this program; if not, write to the Free Software\r
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.\r
21  *****************************************************************************/\r
22 \r
23 #ifndef networkH\r
24 #define networkH\r
25 //---------------------------------------------------------------------------\r
26 #include <Classes.hpp>\r
27 #include <Controls.hpp>\r
28 #include <StdCtrls.hpp>\r
29 #include <Forms.hpp>\r
30 #include <Buttons.hpp>\r
31 #include <ComCtrls.hpp>\r
32 #include <ExtCtrls.hpp>\r
33 //---------------------------------------------------------------------------\r
34 \r
35 #define NOT( var ) ( (var) ? false : true )\r
36 \r
37 class TNetworkDlg : public TForm\r
38 {\r
39 __published:    // IDE-managed Components\r
40     TRadioGroup *RadioGroupProtocol;\r
41     TGroupBox *GroupBoxServer;\r
42     TLabel *LabelAddress;\r
43     TLabel *LabelPort;\r
44     TCheckBox *CheckBoxBroadcast;\r
45     TEdit *EditPort;\r
46     TComboBox *ComboBoxAddress;\r
47     TComboBox *ComboBoxBroadcast;\r
48     TUpDown *UpDownPort;\r
49     TGroupBox *GroupBoxChannels;\r
50     TLabel *LabelPortCS;\r
51     TCheckBox *CheckBoxChannel;\r
52     TComboBox *ComboBoxChannel;\r
53     TEdit *EditPortCS;\r
54     TUpDown *UpDownPortCS;\r
55     TBitBtn *BitBtnOk;\r
56     TBitBtn *BitBtnCancel;\r
57     void __fastcall FormShow( TObject *Sender );\r
58     void __fastcall FormHide( TObject *Sender );\r
59     void __fastcall BitBtnCancelClick(TObject *Sender);\r
60     void __fastcall CheckBoxBroadcastClick( TObject *Sender );\r
61     void __fastcall CheckBoxChannelClick( TObject *Sender );\r
62     void __fastcall BitBtnOkClick(TObject *Sender);\r
63 private:        // User declarations\r
64 public:         // User declarations\r
65     __fastcall TNetworkDlg( TComponent* Owner );\r
66 };\r
67 //---------------------------------------------------------------------------\r
68 #endif\r