<?php
/************************************************** 
 *                 Bot Gadu-Gadu                  * 
 ************************************************** 
 * Wersja: 2.2 Stable                             * 
 * Data: 25.06.2012 (21:15)                       * 
 * Autor: Jacek Kowalski (http://jacekk.info)     * 
 *                                                * 
 * Utwor rozprowadzany na licencji                * 
 * http://creativecommons.org/licenses/by-nc/2.5/ * 
 **************************************************/

interface module {
	static function register_cmd();
	// Returns:
	// array(
	//   'CMD1_NAME' => 'FUNCTION_INSIDE_CLASS',
	//   'CMD2_NAME' => 'FUNCTION_INSIDE_CLASS',
	//   ...
	// )
	
	static function help($cmd=NULL);
	// Return help content about command $cmd to GGapi::put*() functions
	//    if $cmd is NULL return help content for all commands
	
	// static function FUNCTION_INSIDE_CLASS(CMD_NAME, REST_OF_PLAINTEXT)
	//    REST_OF_PLAINTEXT is raw (non trimmed etc.) part after command name, without leading space
}
?>