changeset 104443:a6c7463e3f20

cedet/semantic/db.el: Synch to upstream.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 31 Aug 2009 14:51:12 +0000
parents b22b44e953cb
children 2bf481006ba4
files lisp/cedet/semantic/db.el
diffstat 1 files changed, 17 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cedet/semantic/db.el	Mon Aug 31 02:16:34 2009 +0000
+++ b/lisp/cedet/semantic/db.el	Mon Aug 31 14:51:12 2009 +0000
@@ -158,17 +158,6 @@
 		       )
 	       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 @@
   )
 
 
+;;; 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)