Changeset View
Changeset View
Standalone View
Standalone View
source/ps/scripting/JSInterface_Console.h
Show All 12 Lines | |||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | * along with 0 A.D. If not, see <http://www.gnu.org/licenses/>. | ||||
*/ | */ | ||||
#ifndef INCLUDED_JSI_CONSOLE | #ifndef INCLUDED_JSI_CONSOLE | ||||
#define INCLUDED_JSI_CONSOLE | #define INCLUDED_JSI_CONSOLE | ||||
#include "scriptinterface/ScriptInterface.h" | class ScriptRequest; | ||||
namespace JSI_Console | namespace JSI_Console | ||||
{ | { | ||||
bool CheckGlobalInitialized(); | void RegisterScriptFunctions(const ScriptRequest& rq); | ||||
bool GetVisibleEnabled(ScriptInterface::CmptPrivate* pCmptPrivate); | |||||
void SetVisibleEnabled(ScriptInterface::CmptPrivate* pCmptPrivate, bool Enabled); | |||||
void RegisterScriptFunctions(const ScriptInterface& scriptInterface); | |||||
} | } | ||||
#endif // INCLUDED_JSI_CONSOLE | #endif // INCLUDED_JSI_CONSOLE |
Wildfire Games · Phabricator