Move CPlugin compilation into its own function.

This commit is contained in:
David Anderson
2015-09-20 20:57:43 -07:00
parent d9216cc599
commit 3807edbeb8
2 changed files with 31 additions and 21 deletions
+4 -1
View File
@@ -249,11 +249,14 @@ public:
}
void LibraryActions(LibraryAction action);
void SyncMaxClients(int max_clients);
protected:
bool UpdateInfo();
bool ReadInfo();
void SetTimeStamp(time_t t);
void DependencyDropped(CPlugin *pOwner);
bool TryCompile(char *error, size_t maxlength);
private:
// This information is static for the lifetime of the plugin.
char m_filename[PLATFORM_MAX_PATH];