]> git.eshelyaron.com Git - emacs.git/commitdiff
cedet/semantic/db.el: Synch to upstream.
authorChong Yidong <cyd@stupidchicken.com>
Mon, 31 Aug 2009 14:51:12 +0000 (14:51 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 31 Aug 2009 14:51:12 +0000 (14:51 +0000)
lisp/cedet/semantic/db.el

index ea8bcc9195721b8ef08e8fed7055b57ecbba23c2..ea544f7364c45a5caeed6848b555225da6147fac 100644 (file)
@@ -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)