public/IAdminSystem.h
changeset 620 e329c942cb00
parent 458 77520125ee67
child 729 110c14c99545
     1.1 --- a/public/IAdminSystem.h	Thu Mar 15 20:44:23 2007 +0000
     1.2 +++ b/public/IAdminSystem.h	Thu Mar 15 22:32:45 2007 +0000
     1.3 @@ -196,6 +196,9 @@
     1.4  		virtual void OnRebuildOverrideCache() =0;
     1.5  	};
     1.6  
     1.7 +	/**
     1.8 +	 * @brief Admin permission levels.
     1.9 +	 */
    1.10  	typedef unsigned int FlagBits;
    1.11  
    1.12  	/**
    1.13 @@ -487,7 +490,7 @@
    1.14  		 * @brief Sets a password on an admin.
    1.15  		 *
    1.16  		 * @param id		AdminId index of the admin.
    1.17 -		 * @param passwd	String containing the password.
    1.18 +		 * @param password	String containing the password.
    1.19  		 */
    1.20  		virtual void SetAdminPassword(AdminId id, const char *password) =0;
    1.21  
    1.22 @@ -559,7 +562,7 @@
    1.23  		 * Note: This is a wrapper around GetAdminFlags().
    1.24  		 *
    1.25  		 * @param id		AdminId index of admin.
    1.26 -		 * @param flags		Bitstring containing the permissions to check.
    1.27 +		 * @param bits		Bitstring containing the permissions to check.
    1.28  		 * @return			True if user has permission, false otherwise.
    1.29  		 */
    1.30  		virtual bool CheckAdminFlags(AdminId id, FlagBits bits) =0;