public SymbolDatabaseMediator(CProject proj, CLangManager manager) { ContainingProject = proj; Manager = manager; ContainingProject.FileAddedToProject += HandleAddition; ContainingProject.FileRemovedFromProject += HandleRemoval; ContainingProject.FileChangedInProject += HandleSave; ContainingProject.FileRenamedInProject += HandleRename; ContainingProject.Disposing += HandleDispose; }
/// <summary> /// Initialize this instance. /// </summary> protected override void OnInitialize() { base.OnInitialize(); packages.Project = this; try { ClangManager = new CLangManager(this); DB = new SymbolDatabaseMediator(this, ClangManager); UnsavedFiles = new UnsavedFilesManager(this); HasLibClang = true; } catch (DllNotFoundException ex) { LoggingService.LogError("Could not load libclang", ex); HasLibClang = false; } }
public SerializationManager(CProject proj, CLangManager man, CXIndex ind) { Manager = man; project = proj; Index = ind; }