(svn r23368) -Codechange: move FindLibrary down a few layers, so there is no layer violation anymore

This commit is contained in:
truebrain
2011-11-29 23:27:08 +00:00
parent fe41ceb477
commit 275670b55d
4 changed files with 16 additions and 2 deletions

View File

@@ -43,6 +43,14 @@ public:
*/
virtual int GetSetting(const char *name) = 0;
/**
* Find a library.
* @param library The library name to find.
* @param version The version the library should have.
* @return The library if found, NULL otherwise.
*/
virtual class ScriptInfo *FindLibrary(const char *library, int version) = 0;
/**
* A script in multiplayer waits for the server to handle his DoCommand.
* It keeps waiting for this until this function is called.