1.1 --- a/core/ExtensionSys.h Tue Oct 11 22:50:21 2011 -0400
1.2 +++ b/core/ExtensionSys.h Tue Oct 11 22:51:24 2011 -0400
1.3 @@ -66,6 +66,7 @@
1.4 public: //IExtension
1.5 IExtensionInterface *GetAPI();
1.6 const char *GetFilename();
1.7 + const char *GetPath() const;
1.8 IdentityToken_t *GetIdentity();
1.9 ITERATOR *FindFirstDependency(IExtension **pOwner, SMInterface **pInterface);
1.10 bool FindNextDependency(ITERATOR *iter, IExtension **pOwner, SMInterface **pInterface);
1.11 @@ -163,7 +164,7 @@
1.12 public: //IRootConsoleCommand
1.13 void OnRootConsoleCommand(const char *cmdname, const CCommand &command);
1.14 public:
1.15 - IExtension *LoadAutoExtension(const char *path);
1.16 + IExtension *LoadAutoExtension(const char *path, bool bErrorOnMissing=true);
1.17 void BindDependency(IExtension *pOwner, IfaceInfo *pInfo);
1.18 void AddInterface(IExtension *pOwner, SMInterface *pInterface);
1.19 void BindChildPlugin(IExtension *pParent, CPlugin *pPlugin);