1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2 /*
3  * Copyright (C) 2005 Mr Jamie McCracken
4  *
5  * Caja is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of the
8  * License, or (at your option) any later version.
9  *
10  * Caja is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this program; see the file COPYING.  If not,
17  * write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  *
20  * Author: Jamie McCracken (jamiemcc@gnome.org)
21  *
22  */
23 
24 #ifndef CAJA_SEARCH_ENGINE_TRACKER_H
25 #define CAJA_SEARCH_ENGINE_TRACKER_H
26 
27 #include "caja-search-engine.h"
28 
29 #define CAJA_TYPE_SEARCH_ENGINE_TRACKER		(caja_search_engine_tracker_get_type ())
30 #define CAJA_SEARCH_ENGINE_TRACKER(obj)		(G_TYPE_CHECK_INSTANCE_CAST ((obj), CAJA_TYPE_SEARCH_ENGINE_TRACKER, CajaSearchEngineTracker))
31 #define CAJA_SEARCH_ENGINE_TRACKER_CLASS(klass)	(G_TYPE_CHECK_CLASS_CAST ((klass), CAJA_TYPE_SEARCH_ENGINE_TRACKER, CajaSearchEngineTrackerClass))
32 #define CAJA_IS_SEARCH_ENGINE_TRACKER(obj)		(G_TYPE_CHECK_INSTANCE_TYPE ((obj), CAJA_TYPE_SEARCH_ENGINE_TRACKER))
33 #define CAJA_IS_SEARCH_ENGINE_TRACKER_CLASS(klass)	(G_TYPE_CHECK_CLASS_TYPE ((klass), CAJA_TYPE_SEARCH_ENGINE_TRACKER))
34 #define CAJA_SEARCH_ENGINE_TRACKER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), CAJA_TYPE_SEARCH_ENGINE_TRACKER, CajaSearchEngineTrackerClass))
35 
36 typedef struct CajaSearchEngineTrackerDetails CajaSearchEngineTrackerDetails;
37 
38 typedef struct CajaSearchEngineTracker
39 {
40     CajaSearchEngine parent;
41     CajaSearchEngineTrackerDetails *details;
42 } CajaSearchEngineTracker;
43 
44 typedef struct
45 {
46     CajaSearchEngineClass parent_class;
47 } CajaSearchEngineTrackerClass;
48 
49 GType caja_search_engine_tracker_get_type (void);
50 
51 CajaSearchEngine* caja_search_engine_tracker_new (void);
52 
53 #endif /* CAJA_SEARCH_ENGINE_TRACKER_H */
54