1/* 2 * Author: William Chia-Wei Cheng (bill.cheng@acm.org) 3 * 4 * Copyright (C) 2001-2009, William Chia-Wei Cheng. 5 * 6 * This file may be distributed under the terms of the Q Public License 7 * as defined by Trolltech AS of Norway and appearing in the file 8 * LICENSE.QPL included in the packaging of this file. 9 * 10 * THIS FILE IS PROVIDED AS IS WITH NO WARRANTY OF ANY KIND, INCLUDING 11 * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR 12 * PURPOSE. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, 13 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING 14 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 15 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 16 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 * 18 * @(#)$Header: /mm2/home/cvs/bc-src/tgif/group.e,v 1.7 2011/05/16 16:21:57 william Exp $ 19 */ 20 21#ifndef _GROUP_E_ 22#define _GROUP_E_ 23 24extern int gnDeleteAttrsWhileUngrouping; 25 26#ifdef _INCLUDE_FROM_GROUP_C_ 27#undef extern 28#define extern 29#endif /*_INCLUDE_FROM_GROUP_C_*/ 30 31extern struct ObjRec *JustCreateGroupObj ARGS_DECL((void)); 32extern void CreateGroupObj ARGS_DECL((struct ObjRec *Top, 33 struct ObjRec *Bot)); 34extern void SaveGroupObj ARGS_DECL((FILE *, struct ObjRec *, int Level)); 35extern void SaveCompObj ARGS_DECL((FILE *, struct ObjRec *, int Level)); 36extern void SaveIconObj ARGS_DECL((FILE *, struct ObjRec *, int Level)); 37extern void SavePinObj ARGS_DECL((FILE *, struct ObjRec *, int Level)); 38extern void ReadGroupObj ARGS_DECL((FILE *, int Type, struct ObjRec **)); 39extern void FreeGroupObj ARGS_DECL((struct ObjRec *)); 40extern void UngroupObj ARGS_DECL((struct ObjRec *ObjPtr, 41 struct SelRec **TopSelPtr, 42 struct SelRec **BotSelPtr)); 43extern void UngroupSelObj ARGS_DECL((int highlight, int record_cmd)); 44extern void LockSelObj ARGS_DECL((void)); 45extern void UnlockSelObj ARGS_DECL((void)); 46 47#ifdef _INCLUDE_FROM_GROUP_C_ 48#undef extern 49#ifndef _NO_RECURSIVE_EXTERN 50#define extern extern 51#endif /* ~_NO_RECURSIVE_EXTERN */ 52#endif /*_INCLUDE_FROM_GROUP_C_*/ 53 54#endif /*_GROUP_E_*/ 55