예제 #1
0
		public ThunderbirdIndexer (ThunderbirdQueryable queryable, string[] root_paths)
		{
			this.queryable = queryable;
			this.root_paths = root_paths;
			this.supported_types = new Hashtable ();
			this.init_phase = true;
			this.first_lap = true;
			this.account_list = new ArrayList ();
			this.inotify = new ThunderbirdInotify ();
			
			LoadSupportedTypes ();
			
			foreach (string path in root_paths) {
				Inotify.Subscribe (path, OnInotifyEvent, 
					Inotify.EventType.Delete | 
					Inotify.EventType.MovedTo | 
					Inotify.EventType.Modify |
					Inotify.EventType.Create);
			}
			
			inotify.InotifyEvent += OnInotifyEvent;
		}
예제 #2
0
        public ThunderbirdIndexer(ThunderbirdQueryable queryable, string[] root_paths)
        {
            this.queryable       = queryable;
            this.root_paths      = root_paths;
            this.supported_types = new Hashtable();
            this.init_phase      = true;
            this.first_lap       = true;
            this.account_list    = new ArrayList();
            this.inotify         = new ThunderbirdInotify();

            LoadSupportedTypes();

            foreach (string path in root_paths)
            {
                Inotify.Subscribe(path, OnInotifyEvent,
                                  Inotify.EventType.Delete |
                                  Inotify.EventType.MovedTo |
                                  Inotify.EventType.Modify |
                                  Inotify.EventType.Create);
            }

            inotify.InotifyEvent += OnInotifyEvent;
        }
 public ThunderbirdIndexer(ThunderbirdQueryable queryable)
 {
     this.queryable           = queryable;
     this.indexable_generator = null;
 }
		public ThunderbirdIndexer (ThunderbirdQueryable queryable)
		{
			this.queryable = queryable;
			this.indexable_generator = null;
		}