GnuCash
2.6.99
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
gnome-search
search-date.h
1
/*
2
* Copyright (C) 2002 Derek Atkins
3
*
4
* Authors: Derek Atkins <
[email protected]
>
5
*
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License as
8
* published by the Free Software Foundation; either version 2 of
9
* the License, or (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public
17
* License along with this program; if not, write to the
18
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
* Boston, MA 02110-1301, USA.
20
*/
21
22
#ifndef _GNCSEARCH_DATE_H
23
#define _GNCSEARCH_DATE_H
24
25
#include "search-core-type.h"
26
#include "qof.h"
27
#include "qof.h"
28
29
#define GNC_TYPE_SEARCH_DATE (gnc_search_date_get_type ())
30
#define GNCSEARCH_DATE(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, GNC_TYPE_SEARCH_DATE, GNCSearchDate)
31
#define GNCSEARCH_DATE_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, GNC_TYPE_SEARCH_DATE, GNCSearchDateClass)
32
#define IS_GNCSEARCH_DATE(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, GNC_TYPE_SEARCH_DATE)
33
34
typedef
struct
_GNCSearchDate
GNCSearchDate
;
35
typedef
struct
_GNCSearchDateClass
GNCSearchDateClass
;
36
37
struct
_GNCSearchDate
38
{
39
GNCSearchCoreType
parent;
40
41
QofQueryCompare
how;
42
Timespec
ts;
43
};
44
45
struct
_GNCSearchDateClass
46
{
47
GNCSearchCoreTypeClass
parent_class;
48
49
/* virtual methods */
50
51
/* signals */
52
};
53
54
GType gnc_search_date_get_type (
void
);
55
GNCSearchDate
*gnc_search_date_new (
void
);
56
57
/* methods */
58
void
gnc_search_date_set_date (
GNCSearchDate
*fi,
Timespec
ts);
59
void
gnc_search_date_set_how (
GNCSearchDate
*fi,
QofQueryCompare
how);
60
61
#endif
/* ! _GNCSEARCH_DATE_H */
62
timespec64
Use a 64-bit unsigned int timespec.
Definition:
gnc-date.h:299
GNCSearchCoreType
Definition:
search-core-type.h:34
_GNCSearchDate
Definition:
search-date.h:37
QofQueryCompare
QofQueryCompare
Definition:
qofquerycore.h:55
_GNCSearchDateClass
Definition:
search-date.h:45
GNCSearchCoreTypeClass
Definition:
search-core-type.h:41
Generated by
1.8.6