The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ServerDLLF.h
Go to the documentation of this file.
1 
2 #ifndef ServerDLLFH
3 #define ServerDLLFH
4 
5 #include <Classes.hpp>
6 #include <Controls.hpp>
7 #include <StdCtrls.hpp>
8 #include <Forms.hpp>
9 #include <ComCtrls.hpp>
10 #include <Menus.hpp>
11 #include <checklst.hpp>
12 #include <ExtCtrls.hpp>
13 #include <CheckLst.hpp>
14 #include <ImgList.hpp>
15 #include <ToolWin.hpp>
16 
17 #include "RPCExecutor.h"
18 
19 using namespace WinampRemote::Server;
20 
21 const int WM_THREAD_MESSAGE = (WM_APP + 2000);
22 const int WM_THREAD_STATUS = (WM_APP + 2001);
23 const int WM_THREAD_IDENT = (WM_APP + 2002);
24 
25 const int QUERY_STRING = 0;
26 const int QUERY_INTEGER = 1;
27 const int COMMAND_STRING = 2;
28 const int COMMAND_INTEGER = 3;
29 const int EXCEPTIONS = 4;
30 
31 
32 class TfrmPluginMain : public TForm
33 {
34 __published: // IDE-managed Components
35  TStatusBar *sbrMain;
36  TImageList *imlUsers;
37  TTimer *timerMain;
38  TPageControl *pgMain;
39  TTabSheet *tbsClients;
40  TTabSheet *tbsConfig;
41  TPanel *pnlMain;
42  TListView *lvUsers;
43  TBevel *Bevel1;
44  TToolBar *tbConfig;
45  TToolButton *btnConfig;
46  TToolButton *btnAbout;
47  TToolButton *ToolButton2;
48  void __fastcall FormCreate(TObject *Sender);
49 
50  void __fastcall FormKeyDown(TObject *Sender, WORD &Key,
51  TShiftState Shift);
52 
53  void __fastcall FormShow(TObject *Sender);
54  void __fastcall timerMainTimer(TObject *Sender);
55  void __fastcall FormCloseQuery(TObject *Sender, bool &CanClose);
56  void __fastcall btnConfigClick(TObject *Sender);
57  void __fastcall btnAboutClick(TObject *Sender);
58 protected:
59 private: // User declarations
60  void __fastcall AppException(TObject *Sender, Exception *E);
61 protected:
62 
63 
64 public: // User declarations
65  __fastcall TfrmPluginMain(TComponent* Owner);
66 
67  void __fastcall CreateThread();
68  void __fastcall StopThread(TObject *Sender);
69 };
70 
71 extern PACKAGE TfrmPluginMain *frmPluginMain;
72 
73 
74 #endif