disc.h 2.3 KB
Newer Older
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
/*****************************************************************************
 * disc.h: "Open disc" dialog box.
 *****************************************************************************
 * Copyright (C) 2002 VideoLAN
 *
 * Authors: Olivier Teuliere <ipkiss@via.ecp.fr>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
 *****************************************************************************/

#ifndef discH
#define discH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include "CSPIN.h"
//---------------------------------------------------------------------------
class TDiscDlg : public TForm
{
__published:	// IDE-managed Components
    TLabel *LabelDevice;
    TGroupBox *GroupBoxPosition;
    TLabel *LabelTitle;
    TLabel *LabelChapter;
    TRadioGroup *RadioGroupType;
    TBitBtn *BitBtnOk;
    TBitBtn *BitBtnCancel;
    TEdit *EditDevice;
    TCSpinEdit *SpinEditTitle;
    TCSpinEdit *SpinEditChapter;
48 49 50 51 52
    void __fastcall FormShow( TObject *Sender );
    void __fastcall FormHide( TObject *Sender );
    void __fastcall BitBtnCancelClick( TObject *Sender );
    void __fastcall BitBtnOkClick( TObject *Sender);
    void __fastcall RadioGroupTypeClick( TObject *Sender );
53
private:	// User declarations
54
    intf_thread_t *p_intf;
55
public:		// User declarations
56
    __fastcall TDiscDlg( TComponent* Owner, intf_thread_t *_p_intf );
57 58 59
};
//---------------------------------------------------------------------------
#endif