Release 1.2-rc6.
[wine/gsoc-2012-control.git] / include / structuredquerycondition.idl
blob8eb4d51ce874f3d28107fa64dd003ff6784e68ee
1 /*
2 * structured query condition
4 * Copyright 2009 Maarten Lankhorst
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library 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 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 import "oaidl.idl";
24 import "ocidl.idl";
25 import "objidl.idl";
26 import "propidl.idl";
28 typedef [v1_enum] enum tagCONDITION_TYPE
30 CT_AND_CONDITION,
31 CT_OR_CONDITION,
32 CT_NOT_CONDITION,
33 CT_LEAF_CONDITION
34 } CONDITION_TYPE;
36 typedef [v1_enum] enum tagCONDITION_OPERATION
38 COP_IMPLICIT,
39 COP_EQUAL,
40 COP_NOTEQUAL,
41 COP_LESSTHAN,
42 COP_GREATERTHAN,
43 COP_LESSTHANOREQUAL,
44 COP_GREATERTHANOREQUAL,
45 COP_VALUE_STARTSWITH,
46 COP_VALUE_ENDSWITH,
47 COP_VALUE_CONTAINS,
48 COP_VALUE_NOTCONTAINS,
49 COP_DOSWILDCARDS,
50 COP_WORD_EQUAL,
51 COP_WORD_STARTSWITH,
52 COP_APPLICATION_SPECIFIC
53 } CONDITION_OPERATION;