You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
507 B
30 lines
507 B
#ifndef _MODULELIST_H_ |
|
#define _MODULELIST_H_ |
|
|
|
#include "config.h" |
|
#include "multisock.h" |
|
#include "netpkt.h" |
|
#include "gamelist.h" |
|
#include "module.h" |
|
#include "list.h" |
|
|
|
class ModuleList { |
|
public: |
|
ModuleList(Config& conf); |
|
~ModuleList(); |
|
|
|
void reg(Module* mod); |
|
|
|
void scan(MultiSock* msock); |
|
int parse(NetPkt* pkt, GameList* slist); |
|
|
|
protected: |
|
ModuleList(const ModuleList& ml); |
|
ModuleList& operator=(const ModuleList& ml); |
|
|
|
private: |
|
List<Module> mlist; |
|
Config& conf; |
|
}; |
|
|
|
#endif // _MODULELIST_H_
|
|
|