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
gen_RPCinterface.cpp
Go to the documentation of this file.
1 /*
2 winamp remote control suite ŠPatrick Michael Martin 2000, 2001, 2002
3 
4 Copyright (C) 2000,2001,2002 Patrick M. Martin
5 
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2
9 of the License, or (at your option) any later version.
10 
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15 
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 
20 Patrick M. Martin may be reached by email at patrickmmartin@gmail.com.
21 */
22 
23 #include <vcl.h>
24 #pragma hdrstop
25 
26 
27 USEFORM("AboutF.cpp", frmAbout);
28 USEFORM("ServerDLLF.cpp", frmPluginMain);
29 USEFORM("ConfigDLLF.cpp", ConfigForm);
30 USEFORM("DetailsF.cpp", frmDetails);
31 USEUNIT("gen_plugin.cpp");
32 USEUNIT("VersionInfoU.cpp");
33 USEUNIT("rpcthreadDLL.cpp");
34 USEUNIT("WAINT.CPP");
35 USEUNIT("RFC1060U.CPP");
36 USELIB("..\lib\winampinterface.lib");
37 USEUNIT("GlassExtender.cpp");
38 USEUNIT("WinampServerImpl.cpp");
39 USERES("gen_RPCinterface.RES");
40 USEUNIT("RPCExecutor.cpp");
41 USEUNIT("RPCErrors.cpp");
42 USEUNIT("AboutGLDisplay.cpp");
43 //---------------------------------------------------------------------------
44 int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
45 {
46 
47  switch(reason){
48  case DLL_PROCESS_ATTACH :
49  DisableThreadLibraryCalls(hinst);
50  break;
51 
52  case DLL_THREAD_ATTACH :
53  break;
54 
55  case DLL_THREAD_DETACH :
56  break;
57 
58  case DLL_PROCESS_DETACH :
59  break;
60  }
61 
62  return 1;
63 }
64