Componentes.Terceros.DevExp.../official/x.30/ExpressNavBar/Demos/CBuilder/Common/NavBarUtils.h
2007-12-16 17:06:54 +00:00

47 lines
1.9 KiB
C++

//---------------------------------------------------------------------------
#ifndef NavBarUtilsH
#define NavBarUtilsH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ActnList.hpp>
#include <ImgList.hpp>
//---------------------------------------------------------------------------
enum dxSitePage { spDownloads, spSupport, spStart, spProducts, spMyDX };
//---------------------------------------------------------------------------
const
PChar dxDownloadURL = "http://www.devexpress.com/downloads",
dxSupportURL = "http://www.devexpress.com/Support/Center",
dxStartURL = "http://www.devexpress.com",
dxProductsURL = "http://www.devexpress.com/products",
dxMyDXURL = "http://www.mydevexpress.com";
//---------------------------------------------------------------------------
class TdmCommonData : public TDataModule
{
__published: // IDE-managed Components
TActionList *alMain;
TAction *actDownloads;
TAction *actSupport;
TAction *actDXOnTheWeb;
TAction *actProducts;
TAction *actExit;
TImageList *ilMain;
void __fastcall actExitExecute(TObject *Sender);
void __fastcall actDownloadsExecute(TObject *Sender);
void __fastcall actSupportExecute(TObject *Sender);
void __fastcall actDXOnTheWebExecute(TObject *Sender);
void __fastcall actProductsExecute(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TdmCommonData(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TdmCommonData *dmCommonData;
//---------------------------------------------------------------------------
void Browse(dxSitePage ASitePage);
//---------------------------------------------------------------------------
#endif