コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: CProject.cs プロジェクト: Sohail05/cbinding
 /// <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;
     }
 }
コード例 #3
0
 public SerializationManager(CProject proj, CLangManager man, CXIndex ind)
 {
     Manager = man;
     project = proj;
     Index   = ind;
 }