2 // ------------------------------------------------
7 // (c) 2002 peercast.org
8 // ------------------------------------------------
9 // This program is free software; you can redistribute it and/or modify
10 // it under the terms of the GNU General Public License as published by
11 // the Free Software Foundation; either version 2 of the License, or
12 // (at your option) any later version.
14 // This program is distributed in the hope that it will be useful,
15 // but WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 // GNU General Public License for more details.
18 // ------------------------------------------------
20 #if !defined(AFX_SIMPLE_H__F2E64B1B_62DE_473C_A6B6_E7826D41E0FA__INCLUDED_)
21 #define AFX_SIMPLE_H__F2E64B1B_62DE_473C_A6B6_E7826D41E0FA__INCLUDED_
25 #endif // _MSC_VER > 1000
29 // ---------------------------------
30 class MyPeercastInst : public PeercastInstance
33 virtual Sys * APICALL createSys();
35 // ---------------------------------
36 class MyPeercastApp : public PeercastApplication
41 //logFile.openWriteReplace("log.txt");
44 virtual const char * APICALL getPath();
46 virtual const char * APICALL getIniFilename();
47 virtual const char *APICALL getClientTypeOS();
48 virtual void APICALL openLogFile(); //JP-EX
49 virtual void APICALL getDirectory(); //JP-EX
50 virtual bool APICALL clearTemp(); //JP-EX
51 virtual void APICALL printLog(LogBuffer::TYPE t, const char *str);
53 virtual void APICALL updateSettings();
54 virtual void APICALL notifyMessage(ServMgr::NOTIFY_TYPE, const char *);
56 virtual void APICALL channelStart(ChanInfo *);
57 virtual void APICALL channelStop(ChanInfo *);
58 virtual void APICALL channelUpdate(ChanInfo *);
65 #endif // !defined(AFX_SIMPLE_H__F2E64B1B_62DE_473C_A6B6_E7826D41E0FA__INCLUDED_)