[anjuta/sdb-queries] libanjuta: Delete old API



commit ee5b00981f9045ada874baf12996887b4b29cd8c
Author: Naba Kumar <naba gnome org>
Date:   Tue Jun 8 22:47:14 2010 +0300

    libanjuta: Delete old API

 libanjuta/interfaces/libanjuta.idl |  445 +-----------------------------------
 1 files changed, 2 insertions(+), 443 deletions(-)
---
diff --git a/libanjuta/interfaces/libanjuta.idl b/libanjuta/interfaces/libanjuta.idl
index 2d90abb..e0652a8 100644
--- a/libanjuta/interfaces/libanjuta.idl
+++ b/libanjuta/interfaces/libanjuta.idl
@@ -5394,6 +5394,7 @@ interface IAnjutaSymbolManager
 	#include <libanjuta/anjuta-async-notify.h>	
 	#include "ianjuta-iterable.h"
 	#include "ianjuta-symbol.h"
+	#include "ianjuta-symbol-query.h"
 
 	/**
 	 * IAnjutaSymbolManager::prj_scan_end:
@@ -5405,45 +5406,6 @@ interface IAnjutaSymbolManager
 	void ::prj_scan_end (gint process_id);
 
 	/**
-	 * IAnjutaSymbolManager::prj_symbol_inserted:
-	 * @obj: Self
-	 *
-	 * This signal is emitted when a new symbol is added to project db.
-	 * The chain of symbols emitted is inserted, scan-end, removed.
-	 */
-	void ::prj_symbol_inserted (gint symbol_id);
-
-	
-	/**
-	 * IAnjutaSymbolManager::prj_symbol_removed:
-	 * @obj: Self
-	 *
-	 * This signal is emitted when a new symbol is removed from project db.
-	 * The chain of symbols emitted is inserted, scan-end, removed.
-	 */
-	void ::prj_symbol_removed (gint symbol_id);
-
-	/**
-	 * IAnjutaSymbolManager::prj_symbol_updated:
-	 * @obj: Self
-	 *
-	 * This signal is emitted when a new symbol is updated on project db.
-	 * For 'update' we mean updating on all the fields which are not its primary key.
-	 * Be sure to consider the following cases (comment from the core): 
-	 *
-	 * #1. The symbol remains the same [at least on unique index key]. We will 
-	 *     perform only a simple update.
-	 * #2. The symbol has changed: at least on name/type/file. We will insert a 
-	 *     new symbol on table 'symbol'. Deletion of old one will take place 
-	 *     at a second stage, when a delete of all symbols with 
-	 *     'tmp_flag = 0' will be done.
-	 * #3. The symbol has been deleted. As above it will be deleted at 
-	 *     a second stage because of the 'tmp_flag = 0'. Triggers will remove 
-	 *     also scope_ids and other things.
-	 */
-	void ::prj_symbol_updated (gint symbol_id);
-
-	/**
 	 * IAnjutaSymbolManager::sys_scan_end:
 	 * @obj: Self
 	 * 
@@ -5453,410 +5415,7 @@ interface IAnjutaSymbolManager
 	 */
 	void ::sys_scan_end (gint process_id);
 
-	/**
-	 * IAnjutaSymbolManager::sys_symbol_inserted:
-	 * @obj: Self
-	 *
-	 * This signal is emitted when a new symbol is added to system db.
-	 * The chain of symbols emitted is inserted, scan-end, removed.
-	 */	
-	void ::sys_symbol_inserted (gint symbol_id);	
-
-	/**
-	 * IAnjutaSymbolManager::sys_symbol_removed:
-	 * @obj: Self
-	 *
-	 * This signal is emitted when a new symbol is removed from system db.
-	 * The chain of symbols emitted is inserted, scan-end, removed.
-	 */	
-	void ::sys_symbol_removed (gint symbol_id);	
-
-	/**
-	 * IAnjutaSymbolManager::sys_symbol_updated:
-	 * @obj: Self
-	 *
-	 * This signal is emitted when a new symbol is updated on system db.
-	 * For 'update' we mean updating on all the fields which are not its primary key.
-	 * Be sure to consider the following cases (comment from the core): 
-	 *
-	 * #1. The symbol remains the same [at least on unique index key]. We will 
-	 *     perform only a simple update.
-	 * #2. The symbol has changed: at least on name/type/file. We will insert a 
-	 *     new symbol on table 'symbol'. Deletion of old one will take place 
-	 *     at a second stage, when a delete of all symbols with 
-	 *     'tmp_flag = 0' will be done.
-	 * #3. The symbol has been deleted. As above it will be deleted at 
-	 *     a second stage because of the 'tmp_flag = 0'. Triggers will remove 
-	 *     also scope_ids and other things.
-	 */	
-	void ::sys_symbol_updated (gint symbol_id);	
-	
-	/** 
-	 * IAnjutaSymbolManagerSearchFileScope: 
-	 * @IANJUTA_SYMBOL_MANAGER_SEARCH_FS_IGNORE: to be ignored (e.g. Will search both private and public scopes). 
-	 * @IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PUBLIC: only global public function will be searched 
- 	 * (the ones that _do not_ belong to the file scope). 
-	 * @IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PRIVATE: only private or static (for C language) will be searched 
-     * (the ones that _do_ belong to the file scope). 
-     *
-     * You cannot use bitwise OR in this parameter.
-	 */	
-	enum SearchFileScope
-	{
-		SEARCH_FS_IGNORE = -1,
-		SEARCH_FS_PUBLIC = 1,
-		SEARCH_FS_PRIVATE = 0		
-	}
-	
-	/**
-	* ianjuta_symbol_manager_search:
-	* @obj: Self
-	* @match_types: If passed #IANJUTA_SYMBOL_TYPE_UNDEF the function will not perfom any filter.
-	* @include_types: Should the result contain or exclude the match_types? TRUE to include them,
-	*				  FALSE to exclude. For example use may want all symbols but classes.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @match_name: Name of the symbol you want to search for. If you just want to get all the
-	*              symbols then you need to use "%" as pattern. NULL _is not_ accepted.
-	* @partial_name_match: if TRUE it will search for %match_name%, it FALSE for the exact
-	* 					string match_name.
-	* @filescope_search: if #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PUBLIC it will search only for public/extern functions. 
-	* 						If #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PRIVATE it will search also for static/private functions.
-	* 						If #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_IGNORE it'll search for both public and private
-	* @global_tags_search: If TRUE it'll search only for system tags, using pkg-config to retrieve installed packages
-	* info. If FALSE only current project's symbols will be searched.
-	* @results_limit: Limit results to an upper bound. -1 If you don't want to use this par.
-	* @results_offset: Skip results_offset results. -1 If you don't want to use this par.	 
-	* @err: Error propagation and reporting.	 
-	* @deprecated This function is deprecated and should not be used in new code. 
-	*
-	* Database query. The returned #IAnjutaIterable object must be unreffed after use.
-	* 
-	* Returns: an iteratable object, or NULL if error occurs or if no symbols are found.
-	* 
-	*/
-	IAnjutaIterable* search (IAnjutaSymbolType match_types, gboolean include_types, IAnjutaSymbolField info_fields, const gchar *match_name, gboolean partial_name_match, SearchFileScope filescope_search, gboolean global_tags_search, gint results_limit, gint results_offset);
-	
-	/**
-	* ianjuta_symbol_manager_search_system:
-	* @obj: Self
-	* @match_types: If passed #IANJUTA_SYMBOL_TYPE_UNDEF the function will not perfom any filter.
-	* @include_types: Should the result contain or exclude the match_types? TRUE to include them,
-	*				  FALSE to exclude. For example use may want all symbols but classes.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @pattern Pattern you want to search for. It can me something like 'foo_func' (exact match)
-	*          or something like 'foo_fun%' (LIKE match, matching all the symbol prefixed with 
-	*          'foo_fun'). NULL _is not_ accepted
-	* @filescope_search: if #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PUBLIC it will search only for public/extern functions. 
-	* 						If #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PRIVATE it will search also for static/private functions.
-	* 						If #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_IGNORE it'll search for both public and private
-	* @results_limit: Limit results to an upper bound. -1 If you don't want to use this par.
-	* @results_offset: Skip results_offset results. -1 If you don't want to use this par.	 
-	* @err: Error propagation and reporting.	 
-	*
-	* Database query. The returned #IAnjutaIterable object must be unreffed after use.
-	* The search is case sensitive. Symbols are searched in global (system) packages.
-	* User must have installed the -dev packages of, for istance, gtk+, glib, etc.
-	* 
-	* Returns: an iteratable object, or NULL if error occurs or if no symbols are found.
-	* 
-	*/	
-	IAnjutaIterable* search_system (IAnjutaSymbolType match_types, gboolean include_types, IAnjutaSymbolField info_fields, const gchar *pattern, SearchFileScope filescope_search, gint results_limit, gint results_offset);
-
-	/**
-	* ianjuta_symbol_manager_search_system_async:
-	* @obj: Self
-	* @match_types: If passed #IANJUTA_SYMBOL_TYPE_UNDEF the function will not perfom any filter.
-	* @include_types: Should the result contain or exclude the match_types? TRUE to include them,
-	*				  FALSE to exclude. For example use may want all symbols but classes.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @pattern Pattern you want to search for. It can me something like 'foo_func' (exact match)
-	*          or something like 'foo_fun%' (LIKE match, matching all the symbol prefixed with 
-	*          'foo_fun'). NULL _is not_ accepted
-	* @filescope_search: if #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PUBLIC it will search only for public/extern functions. 
-	* 						If #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PRIVATE it will search also for static/private functions.
-	* 						If #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_IGNORE it'll search for both public and private
-	* @results_limit: Limit results to an upper bound. -1 If you don't want to use this par.
-	* @results_offset: Skip results_offset results. -1 If you don't want to use this par.	 
-	* @cancel: An optional #GCancellable object to cancel the operation, or NULL.
-	* @notify: #AnjutaAsyncNotify object for finish notification and error reporting.
-	* @callback: #SearchCallback callback to call when query result data from database is available
-	* @callback_user_data: User data passed to callback	 
-	* @err: Error propagation and reporting.	 
-	*
-	* Async database query. The returned #IAnjutaIterable object must be unreffed after use.
-	* The search is case sensitive. Symbols are searched in the global packages (system) context.
-	* 
-	* Returns: guint handle to identify the query result. It would infact be possible to have
-	* more async queries at the same time. This is for identify them. Returns 0 on error.
-	* 
-    */
-	guint search_system_async (IAnjutaSymbolType match_types, gboolean include_types, IAnjutaSymbolField info_fields, const gchar *pattern, SearchFileScope filescope_search, gint results_limit, gint results_offset, GCancellable* cancel, AnjutaAsyncNotify *notify, SearchCallback callback, gpointer callback_user_data);
-	
-	/**
-	* ianjuta_symbol_manager_search_project:
-	* @obj: Self
-	* @match_types: If passed #IANJUTA_SYMBOL_TYPE_UNDEF the function will not perfom any filter.
-	* @include_types: Should the result contain or exclude the match_types? TRUE to include them,
-	*				  FALSE to exclude. For example use may want all symbols but classes.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @pattern Pattern you want to search for. It can me something like 'foo_func' (exact match)
-	*          or something like 'foo_fun%' (LIKE match, matching all the symbol prefixed with 
-	*          'foo_fun'). NULL _is not_ accepted
-	* @filescope_search: if #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PUBLIC it will search only for public/extern functions. 
-	* 						If #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PRIVATE it will search also for static/private functions.
-	* 						If #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_IGNORE it'll search for both public and private
-	* @results_limit: Limit results to an upper bound. -1 If you don't want to use this par.
-	* @results_offset: Skip results_offset results. -1 If you don't want to use this par.	 
-	* @err: Error propagation and reporting.	 
-	*
-	* Database query. The returned #IAnjutaIterable object must be unreffed after use.
-	* The search is case sensitive. Symbols are searched in current opened project.
-	* 
-	* Returns: an iteratable object, or NULL if error occurs or if no symbols are found.
-	* 
-	*/	
-	IAnjutaIterable* search_project (IAnjutaSymbolType match_types, gboolean include_types, IAnjutaSymbolField info_fields, const gchar *pattern, SearchFileScope filescope_search, gint results_limit, gint results_offset);
-
-	/**
-	* ianjuta_symbol_manager_search_project_async:
-	* @obj: Self
-	* @match_types: If passed #IANJUTA_SYMBOL_TYPE_UNDEF the function will not perfom any filter.
-	* @include_types: Should the result contain or exclude the match_types? TRUE to include them,
-	*				  FALSE to exclude. For example use may want all symbols but classes.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @pattern Pattern you want to search for. It can me something like 'foo_func' (exact match)
-	*          or something like 'foo_fun%' (LIKE match, matching all the symbol prefixed with 
-	*          'foo_fun'). NULL _is not_ accepted	
-	* @filescope_search: if #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PUBLIC it will search only for public/extern functions. 
-	* 						If #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_PRIVATE it will search also for static/private functions.
-	* 						If #IANJUTA_SYMBOL_MANAGER_SEARCH_FS_IGNORE it'll search for both public and private
-    * @results_limit: Limit results to an upper bound. -1 If you don't want to use this par.
-	* @results_offset: Skip results_offset results. -1 If you don't want to use this par.	 
-	* @cancel: An optional #GCancellable object to cancel the operation, or NULL.
-	* @notify: #AnjutaAsyncNotify object for finish notification and error reporting.
-	* @callback: #SearchCallback callback to call when query result data from database is available
-	* @callback_user_data: User data passed to callback	 
-	* @err: Error propagation and reporting.	 
-	*
-	* Async database query. The returned #IAnjutaIterable object must be unreffed after use.
-	* The search is case sensitive. Symbols are searched only in the opened project's context.
-	* 
-	* Returns: guint handle to identify the query result. It would infact be possible to have
-	* more async queries at the same time. This is for identify them. Returns 0 on error.
-	* 
-    */	
-	guint search_project_async (IAnjutaSymbolType match_types, gboolean include_types, IAnjutaSymbolField info_fields, const gchar *pattern, SearchFileScope filescope_search, gint results_limit, gint results_offset, GCancellable* cancel, AnjutaAsyncNotify *notify, SearchCallback callback, gpointer callback_user_data);
-	
-	/**
-	* ianjuta_symbol_manager_search_file:
-	* @obj: Self
-	* @match_types: If passed #IANJUTA_SYMBOL_TYPE_UNDEF the function will not perfom any filter.
-	* @include_types: Should the result contain or exclude the match_types? TRUE to include them,
-	*				  FALSE to exclude. For example use may want all symbols but classes.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @pattern Pattern you want to search for. It can me something like 'foo_func' (exact match)
-	*          or something like 'foo_fun%' (LIKE match, matching all the symbol prefixed with 
-	*          'foo_fun'). NULL _is not_ accepted
-	* @file GFile of the file, belonging to the project, which you want to scan symbols for.
-	*       Note that if the file doesn't belong to the project, it won't be scanned correctly.
-	* @results_limit: Limit results to an upper bound. -1 If you don't want to use this par.
-	* @results_offset: Skip results_offset results. -1 If you don't want to use this par.	 
-	* @err: Error propagation and reporting.	 
-	*
-	* Database query. The returned #IAnjutaIterable object must be unreffed after use.
-	* The search is case sensitive. Symbols are searched only in the specified file.
-	* There won't be distinction in symbols with file_scope = 1 or 0
-	* 
-	* Returns: an iteratable object, or NULL if error occurs or if no symbols are found.
-	* 
-	*/		
-	IAnjutaIterable* search_file (IAnjutaSymbolType match_types, gboolean include_types, IAnjutaSymbolField info_fields, const gchar *pattern, const GFile *file, gint results_limit, gint results_offset);
-
-	/**
-	* ianjuta_symbol_manager_search_file_async:
-	* @obj: Self
-	* @match_types: If passed #IANJUTA_SYMBOL_TYPE_UNDEF the function will not perfom any filter.
-	* @include_types: Should the result contain or exclude the match_types? TRUE to include them,
-	*				  FALSE to exclude. For example use may want all symbols but classes.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @pattern Pattern you want to search for. It can me something like 'foo_func' (exact match)
-	*          or something like 'foo_fun%' (LIKE match, matching all the symbol prefixed with 
-	*          'foo_fun'). NULL _is not_ accepted
-	* @file GFile of the file, belonging to the project, which you want to scan symbols for.
-	* @results_limit: Limit results to an upper bound. -1 If you don't want to use this par.
-	* @results_offset: Skip results_offset results. -1 If you don't want to use this par.	 
-	* @cancel: An optional #GCancellable object to cancel the operation, or NULL.
-	* @notify: #AnjutaAsyncNotify object for finish notification and error reporting.
-	* @callback: #SearchCallback callback to call when query result data from database is available
-	* @callback_user_data: User data passed to callback	 
-	* @err: Error propagation and reporting.	 
-	*
-	* Async database query. The returned #IAnjutaIterable object must be unreffed after use.
-	* The search is case sensitive. Symbols are searched only in the specified file.
-	* There won't be distinction in symbols with file_scope = 1 or 0
-	* 
-	* Returns: guint handle to identify the query result. It would infact be possible to have
-	* more async queries at the same time. This is for identify them. Returns 0 on error.
-	* 
-    */
-	guint search_file_async (IAnjutaSymbolType match_types, gboolean include_types, IAnjutaSymbolField info_fields, const gchar *pattern, const GFile *file, gint results_limit, gint results_offset, GCancellable* cancel, AnjutaAsyncNotify *notify, SearchCallback callback, gpointer callback_user_data);
-
-	/**
-    * IAnjutaSymbolManagerSearchCallback:
-    * @search_id: id that identifies uniquely the async query.
-    * @result: #IAnjutaIterable iterator object that contains the database query result.
-    * @user_data: User data
-    *
-    * Callback called for an async query to the database.
-	*/
-	typedef void (*SearchCallback) (guint search_id, IAnjutaIterable* result, gpointer user_data);
-	
-	
-	/**
-	* ianjuta_symbol_manager_get_members:
-	* @obj: Self
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @err: Error propagation and reporting.
-	* 
-	* Database query. The returned #IAnjutaIterable object must be unreffed after use.
-	*	 
-	* Returns: an iteratable object, or NULL if error occurs or if no symbols are found.	
-	* 
-	*/
-	IAnjutaIterable* get_members (const IAnjutaSymbol *symbol, IAnjutaSymbolField info_fields);
-	
-	/**
-	* ianjuta_symbol_manager_get_class_parents:
-	* @obj: Self
-	* @symbol: Symbol which you want to know the parent classes of.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @err: Error propagation and reporting.
-	* 
-	* Database query. The returned #IAnjutaIterable object must be unreffed after use.
-	* The query is performed in the project db.
-	* 
-	* Returns: if the passed symbol is a class then this function tries to catch its parents.
-	*
-	*/
-	IAnjutaIterable* get_class_parents (const IAnjutaSymbol *symbol, IAnjutaSymbolField info_fields);	
-
-	/**
-	* ianjuta_symbol_manager_get_scope: 
-	* @obj: Self
-	* @filename: full path of the file.
-	* @line line of @filename in which symbol exist.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @err: Error propagation and reporting.
-	*
-	* Database query. The returned #IAnjutaIterable object must be unreffed after use.	 
-	* It gets the scope specified by the line of the file. 
-	*
-	* Returns: The returned iterator should contain just one element if the query is successful, 
-	* no element or NULL is returned if function went wrong.
-	*
-	*/
-	IAnjutaIterable* get_scope (const gchar* filename, gulong line, IAnjutaSymbolField info_fields);
-
-	/**
-	* ianjuta_symbol_manager_get_parent_scope: 
-	* @obj: Self
-	* @symbol: Symbol which you want to know the parent scope of.
-	* @filename: Can be NULL for a wider search (i.e. not just limited to that file). 
-    *            Full path filename where to search for the parent scope symbol.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @err: Error propagation and reporting.
-	*
-	* Database query. The returned #IAnjutaIterable object must be unreffed after use.
-	* Find the parent scope given a symbol. The query is performed in the project db.
-	* 
-	* Returns: The returned #IAnjutaIterable object should contain just one element if the 
-	* query is successful, no element or NULL is returned if function went wrong.	
-	* The returned #IAnjutaIterable object must be unreffed after use.
-	*/	
-	IAnjutaIterable* get_parent_scope (const IAnjutaSymbol *symbol, const gchar *filename, IAnjutaSymbolField info_fields);
-
-	/**
-	* ianjuta_symbol_manager_get_scope_chain:
-	* @obj: Self
-	* @filename: Full path filename where to search for the parent scope symbol.  
-	*            Can be NULL for a wider search (i.e. not just limited to that file).
-	* @line: Line of the file where the symbol is.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @err: Error propagation and reporting.
-	*
- 	* Walk the path up to the root scope given a full_local_file_path and a line number.
- 	* The returned iterator will be populated with IAnjutaSymbol(s)
- 	* so that it could be easily browsed by a client app. 	
- 	* e.g.
- 	* namespace FooBase {
- 	* class FooKlass {
- 	*	
- 	* }
- 	*
- 	* void FooKlass::foo_func () {			<-------------- this is the scoped symbol
-	*              
- 	* }
- 	*
-	* Returns: NULL on error or if scope isn't found. The returned iterator'll contain 
-    * symbols in this order: foo_func, FooKlass, FooBase.
-	*/
-	IAnjutaIterable* get_scope_chain (const gchar* filename, gulong line, IAnjutaSymbolField info_fields);
-
-	/**
-	* ianjuta_symbol_manager_search_symbol_in_scope:
-	* @obj: Self
-	* @pattern Pattern you want to search for. If NULL it will use '%' and LIKE for query.
- 	* @container_symbol_id The container symbol id where you want to search in.
- 	* @match_types Can be set to IANJUTA_SYMBOL_TYPE_UNDEF. In that case these filters will not be taken into consideration. 
- 	* @include_kinds Should the filter_kinds (if not null) be applied as inluded or excluded?
- 	* @results_limit Limit results to an upper bound. -1 If you don't want to use this par.
- 	* @results_offset Skip results_offset results. -1 If you don't want to use this par.
- 	* @info_fields Infos about symbols you want to know. 
-	*
- 	* Usually, for instance in a completion engine we have to search for symbols
- 	* that are part of a container symbol, even for their existence.
- 	* This function would be useful and fast in those cases.	 
-	*/
-	IAnjutaIterable* search_symbol_in_scope (const gchar *pattern, const IAnjutaSymbol *container_symbol, IAnjutaSymbolType match_types, gboolean include_types, gint results_limit, gint results_offset, IAnjutaSymbolField info_fields);
-	
-	
-	/**
-	* ianjuta_symbol_manager_get_symbol_more_info:
-	* @obj: Self
-	* @symbol symbol of which you want to know more infos about.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @err: Error propagation and reporting.	
-	*
-	* Database query. The returned #IAnjutaIterable object must be unreffed after use.
-	* While at first sight this function may seem as useless, in a deeper inspection
-	* you can see that you can achieve speed improvements for example avoiding 
-	* to pass many info_fields requests to a search query, which itself could require
-	* complicated joins between the db tables, slowing down the thing.
-	* It's up to you to see which method is more performant.
-	*
-	* Returns: The returned #IAnjutaIterable object should contain just one element if the 
-	* query is successful, no element or NULL is returned if function went wrong.	
-	* The returned #IAnjutaIterable object must be unreffed after use.
-	*
-	*/	
-	IAnjutaIterable* get_symbol_more_info (const IAnjutaSymbol *symbol, IAnjutaSymbolField info_fields);
-	
-	/**
-	* ianjuta_symbol_manager_get_symbol_by_id:
-	* @obj: Self
-	* @symbol_id unique id of the symbol you want to know about.
-	* @info_fields: Kind of infos you would like to have available on the resulting Symbols.
-	* @return NULL on error.
-	*
-	* Database query. The returned #IAnjutaIterable object must be unreffed after use.
-	* A symbol is identified by an unique id. If you have its id you can also 
-	* have its object IAnjutaSymbol.	 
-	*
-	* Returns: The returned #IAnjutaIterable object should contain just one element if the 
-	* query is successful, no element or NULL is returned if function went wrong.	
-	* The returned #IAnjutaIterable object must be unreffed after use.	 
-	*/
-	IAnjutaSymbol* get_symbol_by_id (gint symbol_id, IAnjutaSymbolField info_fields);
+	IAnjutaSymbolQuery* create_query (IAnjutaSymbolQueryName name);
 }
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]