1/* 2 * structured query condition 3 * 4 * Copyright 2009 Maarten Lankhorst 5 * 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. 10 * 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. 15 * 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 19 * 20 */ 21 22 23import "oaidl.idl"; 24import "ocidl.idl"; 25import "objidl.idl"; 26import "propidl.idl"; 27 28typedef [v1_enum] enum tagCONDITION_TYPE 29{ 30 CT_AND_CONDITION, 31 CT_OR_CONDITION, 32 CT_NOT_CONDITION, 33 CT_LEAF_CONDITION 34} CONDITION_TYPE; 35 36typedef [v1_enum] enum tagCONDITION_OPERATION 37{ 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; 54