From 5fcb5c7e2aa0e7f2ade1228fe17ae06d554894dc Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 31 Aug 2009 14:51:12 +0000 Subject: [PATCH] cedet/semantic/db.el: Synch to upstream. --- lisp/cedet/semantic/db.el | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/lisp/cedet/semantic/db.el b/lisp/cedet/semantic/db.el index ea8bcc91957..ea544f7364c 100644 --- a/lisp/cedet/semantic/db.el +++ b/lisp/cedet/semantic/db.el @@ -158,17 +158,6 @@ Adds the number of tags in this file to the object print name." ) strings))) -(defclass semanticdb-search-results-table (semanticdb-abstract-table) - ( ) - "Table used for search results when there is no file or table association. -Examples include search results from external sources such as from -Emacs' own symbol table, or from external libraries.") - -(defmethod semanticdb-refresh-table ((obj semanticdb-search-results-table) &optional force) - "If the tag list associated with OBJ is loaded, refresh it. -This will call `semantic-fetch-tags' if that file is in memory." - nil) - ;;; Index Cache ;; (defclass semanticdb-abstract-search-index () @@ -208,6 +197,23 @@ If one doesn't exist, create it." ) +;;; SEARCH RESULTS TABLE +;; +;; Needed for system databases that may not provide +;; a semanticdb-table associated with a file. +;; +(defclass semanticdb-search-results-table (semanticdb-abstract-table) + ( + ) + "Table used for search results when there is no file or table association. +Examples include search results from external sources such as from +Emacs' own symbol table, or from external libraries.") + +(defmethod semanticdb-refresh-table ((obj semanticdb-search-results-table) &optional force) + "If the tag list associated with OBJ is loaded, refresh it. +This will call `semantic-fetch-tags' if that file is in memory." + nil) + ;;; CONCRETE TABLE CLASSES ;; (defclass semanticdb-table (semanticdb-abstract-table) -- 2.39.5