From 78a96055c428d1970ece93dfb01902ac0d1699bd Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Apr 2004 22:03:32 +0000 Subject: New documentation to document user/channel mode handling git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@380 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/modules_8h-source.html | 92 +++++++++++++++++----------------- 1 file changed, 46 insertions(+), 46 deletions(-) (limited to 'docs/module-doc/modules_8h-source.html') diff --git a/docs/module-doc/modules_8h-source.html b/docs/module-doc/modules_8h-source.html index e1848aeb4..39b1855fd 100644 --- a/docs/module-doc/modules_8h-source.html +++ b/docs/module-doc/modules_8h-source.html @@ -5,7 +5,7 @@
00001 /* 00002 00003 @@ -136,55 +136,55 @@ 00282 virtual std::string GetServerName(); 00285 virtual std::string GetNetworkName(); 00291 virtual Admin GetAdmin(); -00309 virtual bool AddExtendedMode(char modechar, int type, bool default_on, int params_when_on, int params_when_off); -00310 -00325 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams); -00326 -00348 virtual void SendMode(char **parameters, int pcnt, userrec *user); -00349 }; -00350 -00357 class ConfigReader : public classbase -00358 { -00359 protected: -00362 std::string fname; -00363 public: -00368 ConfigReader(); // default constructor reads ircd.conf -00372 ConfigReader(std::string filename); // read a module-specific config -00376 ~ConfigReader(); -00381 std::string ReadValue(std::string tag, std::string name, int index); -00388 int Enumerate(std::string tag); -00392 bool Verify(); -00393 }; -00394 +00310 virtual bool AddExtendedMode(char modechar, int type, bool requires_oper, int params_when_on, int params_when_off); +00311 +00326 virtual void AddCommand(char* cmd, handlerfunc f, char flags, int minparams); +00327 +00349 virtual void SendMode(char **parameters, int pcnt, userrec *user); +00350 }; +00351 +00358 class ConfigReader : public classbase +00359 { +00360 protected: +00363 std::string fname; +00364 public: +00369 ConfigReader(); // default constructor reads ircd.conf +00373 ConfigReader(std::string filename); // read a module-specific config +00377 ~ConfigReader(); +00382 std::string ReadValue(std::string tag, std::string name, int index); +00389 int Enumerate(std::string tag); +00393 bool Verify(); +00394 }; 00395 00396 -00402 class FileReader : public classbase -00403 { -00404 file_cache fc; -00405 public: -00410 FileReader(); -00416 FileReader(std::string filename); -00420 ~FileReader(); -00426 void LoadFile(std::string filename); -00431 bool Exists(); -00432 std::string GetLine(int x); -00438 int FileSize(); -00439 }; -00440 +00397 +00403 class FileReader : public classbase +00404 { +00405 file_cache fc; +00406 public: +00411 FileReader(); +00417 FileReader(std::string filename); +00421 ~FileReader(); +00427 void LoadFile(std::string filename); +00432 bool Exists(); +00433 std::string GetLine(int x); +00439 int FileSize(); +00440 }; 00441 -00448 class ModuleFactory : public classbase -00449 { -00450 public: -00451 ModuleFactory() { } -00452 virtual ~ModuleFactory() { } -00457 virtual Module * CreateModule() = 0; -00458 }; -00459 +00442 +00449 class ModuleFactory : public classbase +00450 { +00451 public: +00452 ModuleFactory() { } +00453 virtual ~ModuleFactory() { } +00458 virtual Module * CreateModule() = 0; +00459 }; 00460 -00461 typedef DLLFactory<ModuleFactory> ircd_module; -00462 -00463 #endif -
1.3-rc3
--
cgit v1.3.1-10-gc9f91