CSDN博客

img ch_builder

网络电视的头文件

发表于2003/11/23 19:15:00  1091人阅读

分类: C++ Builder

    最近有些朋友要网络电视程序的头文件,我没有清楚这是为什么,那个全编译的程序,除了电视及广播的网址外,已经全都给出了,至于正式版的,我想现在还不是发布的时候,到时我会发布的。

    全编译程序的头文件:

//---------------------------------------------------------------------------

#ifndef CHTVH
#define CHTVH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RealAudioObjects_OCX.h"
#include "WMPLib_OCX.h"
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <OleCtrls.hpp>
//---------------------------------------------------------------------------
class TfrmCHTV : public TForm
{
__published: // IDE-managed Components
        TWindowsMediaPlayer *wmpCHTV;
        TRealAudio *radCHTV;
        TPageControl *pclCHTV;
        TTabSheet *tstTV;
        TTabSheet *tstRadio;
        TTabSheet *tstAbout;
        TRadioGroup *rgpTV;
        TRadioGroup *rgpRadio;
        TMemo *mmAbout;
        TLabel *lblName;
        TLabel *lblDate;
        TLabel *lblAccredit;
        void __fastcall frmCHTVCreate(TObject *Sender);
        void __fastcall rgpTVClick(TObject *Sender);
        void __fastcall rgpRadioClick(TObject *Sender);
private: // User declarations
public:  // User declarations
        __fastcall TfrmCHTV(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmCHTV *frmCHTV;
//---------------------------------------------------------------------------
#endif

    试用版的头文件:

//---------------------------------------------------------------------------

#ifndef chtvH
#define chtvH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RealAudioObjects_OCX.h"
#include "WMPLib_OCX.h"
#include <ComCtrls.hpp>
#include <DB.hpp>
#include <DBTables.hpp>
#include <ExtCtrls.hpp>
#include <OleCtrls.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
class TfrmCHTV : public TForm
{
__published: // IDE-managed Components
        TWindowsMediaPlayer *wmpCHTV;
        TRealAudio *radCHTV;
        TPageControl *pclCHTV;
        TTabSheet *tstCHTV;
        TTabSheet *tstCHRADIO;
        TRadioGroup *rgpCHTV;
        TQuery *qryCHTV;
        TQuery *qryCHRADIO;
        TRadioGroup *rgpCHRADIO;
        TTabSheet *tstFunction;
        TPanel *pnlCHTV;
        TLabel *lblAuthor;
        TLabel *lblEdition;
        TLabel *lblDate;
        TMemo *mmAbout;
        void __fastcall rgpCHTVClick(TObject *Sender);
        void __fastcall CHTVCreate(TObject *Sender);
        void __fastcall rgpCHRADIOClick(TObject *Sender);
private: // User declarations
public:  // User declarations
        __fastcall TfrmCHTV(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfrmCHTV *frmCHTV;
//---------------------------------------------------------------------------
#endif

    其实你要是什么更好的方法,不妨也贴出来,让我们共同学习,用好BCB。

阅读全文
0 0

相关文章推荐

img
取 消
img