Changeset ad14a89d0fbcca30225e6d33c6f40c35e7eb45e4
- Timestamp:
- 03/04/02 01:22:32
(7 years ago)
- Author:
- Olivier Teulière <ipkiss@videolan.org>
- git-committer:
- Olivier Teulière <ipkiss@videolan.org> 1017789752 +0000
- git-parent:
[75824aafc4f8fec873f148769a1fac53c6761a1f]
- git-author:
- Olivier Teulière <ipkiss@videolan.org> 1017789752 +0000
- Message:
- ./include/config.h: fixed config directory name for windows
- ./plugins/win32: the network dialog now respects the preferences settings
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r87b7319 |
rad14a89 |
|
| 50 | 50 | /* The configuration file and directory */ |
|---|
| 51 | 51 | #ifdef SYS_BEOS |
|---|
| 52 | | #define CONFIG_DIR "config/settings" |
|---|
| | 52 | # define CONFIG_DIR "config/settings" |
|---|
| | 53 | #elif defined( WIN32 ) |
|---|
| | 54 | # define CONFIG_DIR "videolan" |
|---|
| 53 | 55 | #else |
|---|
| 54 | | #define CONFIG_DIR ".videolan" |
|---|
| | 56 | # define CONFIG_DIR ".videolan" |
|---|
| 55 | 57 | #endif |
|---|
| 56 | 58 | #define CONFIG_FILE "vlcrc" |
|---|
| r8092e41 |
rad14a89 |
|
| 47 | 47 | : TForm( Owner ) |
|---|
| 48 | 48 | { |
|---|
| | 49 | char *psz_channel_server; |
|---|
| | 50 | |
|---|
| | 51 | /* server port */ |
|---|
| | 52 | UpDownPort->Position = config_GetIntVariable( "server_port" ); |
|---|
| | 53 | |
|---|
| | 54 | /* channel server */ |
|---|
| | 55 | if( config_GetIntVariable( "network_channel" ) ) |
|---|
| | 56 | { |
|---|
| | 57 | CheckBoxChannel->Checked = true; |
|---|
| | 58 | } |
|---|
| | 59 | |
|---|
| | 60 | psz_channel_server = config_GetPszVariable( "channel_server" ); |
|---|
| | 61 | if( psz_channel_server ) |
|---|
| | 62 | { |
|---|
| | 63 | ComboBoxChannel->Text = psz_channel_server; |
|---|
| | 64 | free( psz_channel_server ); |
|---|
| | 65 | } |
|---|
| | 66 | |
|---|
| | 67 | UpDownPortCS->Position = config_GetIntVariable( "channel_port" ); |
|---|
| 49 | 68 | } |
|---|
| 50 | 69 | //--------------------------------------------------------------------------- |
|---|
| r8092e41 |
rad14a89 |
|
| 1 | 1 | object NetworkDlg: TNetworkDlg |
|---|
| 2 | | Left = 368 |
|---|
| 3 | | Top = 266 |
|---|
| | 2 | Left = 419 |
|---|
| | 3 | Top = 281 |
|---|
| 4 | 4 | BorderStyle = bsDialog |
|---|
| 5 | 5 | Caption = 'Open network' |
|---|
| … | … | |
| 307 | 307 | TabOrder = 2 |
|---|
| 308 | 308 | Text = '138.195.131.10' |
|---|
| | 309 | Items.Strings = ( |
|---|
| | 310 | '138.195.131.10') |
|---|
| 309 | 311 | end |
|---|
| 310 | 312 | object ComboBoxBroadcast: TComboBox |
|---|
| … | … | |
| 317 | 319 | TabOrder = 3 |
|---|
| 318 | 320 | Text = '138.195.143.255' |
|---|
| | 321 | Items.Strings = ( |
|---|
| | 322 | '138.195.143.255') |
|---|
| 319 | 323 | end |
|---|
| 320 | 324 | object UpDownPort: TUpDown |
|---|
| … | … | |
| 365 | 369 | TabOrder = 1 |
|---|
| 366 | 370 | Text = '138.195.156.232' |
|---|
| | 371 | Items.Strings = ( |
|---|
| | 372 | '138.195.156.232') |
|---|
| 367 | 373 | end |
|---|
| 368 | 374 | object EditPortCS: TEdit |
|---|