00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Ondrej Kos 00008 * Side Effects 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: CH library (C++) 00015 * 00016 * COMMENTS: Convenient types used by the channel library. 00017 * 00018 */ 00019 00020 #ifndef __CH_Types_h__ 00021 #define __CH_Types_h__ 00022 00023 #include "CH_API.h" 00024 #include <UT/UT_RefArray.h> 00025 #include <UT/UT_PtrArray.h> 00026 00027 class CH_Group; 00028 class CH_Segment; 00029 class CH_Channel; 00030 class CH_ChannelRef; 00031 class CH_Collection; 00032 00033 typedef UT_PtrArray<CH_Group *> CH_GroupList; 00034 typedef UT_PtrArray<CH_Segment *> CH_SegmentList; 00035 typedef UT_PtrArray<CH_Channel *> CH_ChannelList; 00036 typedef UT_RefArray<CH_ChannelRef> CH_ChannelRefList; 00037 typedef UT_PtrArray<CH_Collection *> CH_CollectionList; 00038 typedef UT_PtrArray<const char *> CH_NameList; 00039 typedef int (*CHfindCallBack)(CH_Collection *grp, CH_Channel *chp, void *); 00040 00041 typedef enum { 00042 CH_SCOPED = 0x1, 00043 CH_SELECTED = 0x2, 00044 CH_PINNED = 0x4, 00045 CH_DISPLAY = 0x8, 00046 CH_TEMPLATE = 0x10, 00047 00048 CH_NUM_FLAGS = 5, 00049 CH_ALL_FLAGS = ((1<<5)-1) 00050 00051 } CH_ScopeMasks; 00052 00053 CH_API extern const char *const 00054 chScopeFlagNames[]; 00055 00056 #endif
1.5.9