| 1 |
|
|---|
| 2 | /*
|
|---|
| 3 | * This file was generated by the SOM Compiler.
|
|---|
| 4 | * FileName: include\cwogg.h.
|
|---|
| 5 | * Generated using:
|
|---|
| 6 | * SOM Precompiler somipc: 2.29.1.7
|
|---|
| 7 | * SOM Emitter emith: 2.42
|
|---|
| 8 | */
|
|---|
| 9 |
|
|---|
| 10 | /*
|
|---|
| 11 | *
|
|---|
| 12 | * CWMp3.idl:
|
|---|
| 13 | */
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 | #ifndef SOM_CWOGG_h
|
|---|
| 17 | #define SOM_CWOGG_h
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 | #include <som.h>
|
|---|
| 21 |
|
|---|
| 22 | /*
|
|---|
| 23 | * -- This emitter treats Method Tokens as Thunks by default.
|
|---|
| 24 | * -- Use the sc modifier "nothunks" to change this default
|
|---|
| 25 | */
|
|---|
| 26 | #undef somresolve_
|
|---|
| 27 | #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
|
|---|
| 28 |
|
|---|
| 29 | /*
|
|---|
| 30 | * Define the class name as an object type
|
|---|
| 31 | */
|
|---|
| 32 | #ifndef CWOGG
|
|---|
| 33 | #define CWOGG SOMObject
|
|---|
| 34 | #endif
|
|---|
| 35 | #include <cwaudio.h>
|
|---|
| 36 |
|
|---|
| 37 | /*
|
|---|
| 38 | * Start of user-defined types:
|
|---|
| 39 | */
|
|---|
| 40 | #ifndef SOMClass
|
|---|
| 41 | #define SOMClass SOMObject
|
|---|
| 42 | #endif /* SOMClass */
|
|---|
| 43 | #ifndef WPFolder
|
|---|
| 44 | #define WPFolder SOMObject
|
|---|
| 45 | #endif /* WPFolder */
|
|---|
| 46 | #ifndef M_WPObject
|
|---|
| 47 | #define M_WPObject SOMObject
|
|---|
| 48 | #endif /* M_WPObject */
|
|---|
| 49 | #ifndef WPObject
|
|---|
| 50 | #define WPObject SOMObject
|
|---|
| 51 | #endif /* WPObject */
|
|---|
| 52 | #ifndef M_WPFileSystem
|
|---|
| 53 | #define M_WPFileSystem SOMObject
|
|---|
| 54 | #endif /* M_WPFileSystem */
|
|---|
| 55 | #ifndef M_WPDataFile
|
|---|
| 56 | #define M_WPDataFile SOMObject
|
|---|
| 57 | #endif /* M_WPDataFile */
|
|---|
| 58 | #ifndef M_CWMMDataFile
|
|---|
| 59 | #define M_CWMMDataFile SOMObject
|
|---|
| 60 | #endif /* M_CWMMDataFile */
|
|---|
| 61 | #ifndef M_CWAudio
|
|---|
| 62 | #define M_CWAudio SOMObject
|
|---|
| 63 | #endif /* M_CWAudio */
|
|---|
| 64 | #ifndef M_CWOGG
|
|---|
| 65 | #define M_CWOGG SOMObject
|
|---|
| 66 | #endif /* M_CWOGG */
|
|---|
| 67 |
|
|---|
| 68 | /*
|
|---|
| 69 | * End of user-defined types.
|
|---|
| 70 | */
|
|---|
| 71 |
|
|---|
| 72 | #define CWOGG_MajorVersion 1
|
|---|
| 73 | #define CWOGG_MinorVersion 2
|
|---|
| 74 |
|
|---|
| 75 | /*
|
|---|
| 76 | * External name shortening if required
|
|---|
| 77 | */
|
|---|
| 78 | #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
|
|---|
| 79 | #define CWOGGNewClass cwoggc
|
|---|
| 80 | #pragma linkage(cwoggc, system)
|
|---|
| 81 | #define CWOGGClassData cwoggd
|
|---|
| 82 | #define CWOGGCClassData cwoggx
|
|---|
| 83 | #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
|
|---|
| 84 |
|
|---|
| 85 | /*
|
|---|
| 86 | * Include the meta class file
|
|---|
| 87 | */
|
|---|
| 88 | #include <cwogg.h>
|
|---|
| 89 | /*--------------Migration------------*/
|
|---|
| 90 | #define CWOGG_classObj CWOGGClassData.classObject
|
|---|
| 91 | #define _CWOGG CWOGG_classObj
|
|---|
| 92 |
|
|---|
| 93 | /*
|
|---|
| 94 | * Declare the class creation procedure
|
|---|
| 95 | */
|
|---|
| 96 | SOMEXTERN SOMClass * SOMLINK CWOGGNewClass(integer4 somtmajorVersion,
|
|---|
| 97 | integer4 somtminorVersion);
|
|---|
| 98 | #pragma linkage(CWOGGNewClass, system)
|
|---|
| 99 |
|
|---|
| 100 | /*
|
|---|
| 101 | * Declare the class data structure
|
|---|
| 102 | */
|
|---|
| 103 | SOMEXTERN struct CWOGGClassDataStructure {
|
|---|
| 104 | SOMClass *classObject;
|
|---|
| 105 | } SOMDLINK CWOGGClassData;
|
|---|
| 106 |
|
|---|
| 107 | /*
|
|---|
| 108 | * Declare the C specific class data structure
|
|---|
| 109 | */
|
|---|
| 110 | SOMEXTERN struct CWOGGCClassDataStructure {
|
|---|
| 111 | somMethodTabs parentMtab;
|
|---|
| 112 | somDToken instanceDataToken;
|
|---|
| 113 | } SOMDLINK CWOGGCClassData;
|
|---|
| 114 |
|
|---|
| 115 | /*
|
|---|
| 116 | * New and Renew macros for CWOGG
|
|---|
| 117 | */
|
|---|
| 118 | #define CWOGGNew() \
|
|---|
| 119 | (_somNew(_CWOGG ? _CWOGG : CWOGGNewClass(CWOGG_MajorVersion, CWOGG_MinorVersion)))
|
|---|
| 120 | #define CWOGGRenew(buf) \
|
|---|
| 121 | (_somRenew(_CWOGG ? _CWOGG : CWOGGNewClass(CWOGG_MajorVersion, CWOGG_MinorVersion), buf))
|
|---|
| 122 |
|
|---|
| 123 | /*
|
|---|
| 124 | * Override method: wpObjectReady
|
|---|
| 125 | */
|
|---|
| 126 | #define CWOGG_wpObjectReady(somSelf,ulCode,refObject) \
|
|---|
| 127 | WPObject_wpObjectReady(somSelf,ulCode,refObject)
|
|---|
| 128 |
|
|---|
| 129 | /*
|
|---|
| 130 | * Override method: wpSaveState
|
|---|
| 131 | */
|
|---|
| 132 | #define CWOGG_wpSaveState(somSelf) \
|
|---|
| 133 | WPObject_wpSaveState(somSelf)
|
|---|
| 134 | #ifndef SOM_DONT_USE_INHERITED_MACROS
|
|---|
| 135 | #define CWOGG_cwmmAddWaveInformationPage CWAudio_cwmmAddWaveInformationPage
|
|---|
| 136 | #define CWOGG_cwmmSetTrackInfo CWAudio_cwmmSetTrackInfo
|
|---|
| 137 | #define CWOGG_cwmmQueryTrackInfo CWAudio_cwmmQueryTrackInfo
|
|---|
| 138 | #define CWOGG_cwmmPlayTrack CWAudio_cwmmPlayTrack
|
|---|
| 139 | #define CWOGG_cwmmAddTrackNamePage CWAudio_cwmmAddTrackNamePage
|
|---|
| 140 | #define CWOGG_cwmmSetObjWindowProc CWMMDataFile_cwmmSetObjWindowProc
|
|---|
| 141 | #define CWOGG_cwmmQueryObjWindowProc CWMMDataFile_cwmmQueryObjWindowProc
|
|---|
| 142 | #define CWOGG_cwmmSetRecordTitles CWMMDataFile_cwmmSetRecordTitles
|
|---|
| 143 | #define CWOGG_wpAddFileTypePage WPDataFile_wpAddFileTypePage
|
|---|
| 144 | #define CWOGG_wpPrintMetaFile WPDataFile_wpPrintMetaFile
|
|---|
| 145 | #define CWOGG_wpPrintPifFile WPDataFile_wpPrintPifFile
|
|---|
| 146 | #define CWOGG_wpPrintPrinterSpecificFile WPDataFile_wpPrintPrinterSpecificFile
|
|---|
| 147 | #define CWOGG_wpPrintUnknownFile WPDataFile_wpPrintUnknownFile
|
|---|
| 148 | #define CWOGG_wpQueryAssociatedProgram WPDataFile_wpQueryAssociatedProgram
|
|---|
| 149 | #define CWOGG_wpSetAssociatedFileIcon WPDataFile_wpSetAssociatedFileIcon
|
|---|
| 150 | #define CWOGG_wpQueryAssociatedFileIcon WPDataFile_wpQueryAssociatedFileIcon
|
|---|
| 151 | #define CWOGG_wpSetRealName WPFileSystem_wpSetRealName
|
|---|
| 152 | #define CWOGG_wpSetType WPFileSystem_wpSetType
|
|---|
| 153 | #define CWOGG_wpQueryType WPFileSystem_wpQueryType
|
|---|
| 154 | #define CWOGG_wpSetAttr WPFileSystem_wpSetAttr
|
|---|
| 155 | #define CWOGG_wpQueryAttr WPFileSystem_wpQueryAttr
|
|---|
| 156 | #define CWOGG_wpAddFile1Page WPFileSystem_wpAddFile1Page
|
|---|
| 157 | #define CWOGG_wpAddFile2Page WPFileSystem_wpAddFile2Page
|
|---|
| 158 | #define CWOGG_wpAddFile3Page WPFileSystem_wpAddFile3Page
|
|---|
| 159 | #define CWOGG_wpAddFileMenuPage WPFileSystem_wpAddFileMenuPage
|
|---|
| 160 | #define CWOGG_wpQueryCreation WPFileSystem_wpQueryCreation
|
|---|
| 161 | #define CWOGG_wpQueryLastAccess WPFileSystem_wpQueryLastAccess
|
|---|
| 162 | #define CWOGG_wpQueryLastWrite WPFileSystem_wpQueryLastWrite
|
|---|
| 163 | #define CWOGG_wpQueryFileSize WPFileSystem_wpQueryFileSize
|
|---|
| 164 | #define CWOGG_wpQueryEASize WPFileSystem_wpQueryEASize
|
|---|
| 165 | #define CWOGG_wpSetDateInfo WPFileSystem_wpSetDateInfo
|
|---|
| 166 | #define CWOGG_wpSetFileSizeInfo WPFileSystem_wpSetFileSizeInfo
|
|---|
| 167 | #define CWOGG_wpRefresh WPFileSystem_wpRefresh
|
|---|
| 168 | #define CWOGG_wpQueryRefreshFlags WPFileSystem_wpQueryRefreshFlags
|
|---|
| 169 | #define CWOGG_wpSetRefreshFlags WPFileSystem_wpSetRefreshFlags
|
|---|
| 170 | #define CWOGG_wpPrintPlainTextFile WPFileSystem_wpPrintPlainTextFile
|
|---|
| 171 | #define CWOGG_wpSetTitleAndRenameFile WPFileSystem_wpSetTitleAndRenameFile
|
|---|
| 172 | #define CWOGG_wpConfirmRenameFileWithExt WPFileSystem_wpConfirmRenameFileWithExt
|
|---|
| 173 | #define CWOGG_wpVerifyUpdateAccess WPFileSystem_wpVerifyUpdateAccess
|
|---|
| 174 | #define CWOGG_wpAddUserItemsToPopupMenu WPFileSystem_wpAddUserItemsToPopupMenu
|
|---|
| 175 | #define CWOGG_wpIsDiskSwapped WPFileSystem_wpIsDiskSwapped
|
|---|
| 176 | #define CWOGG_wpQueryRealName WPFileSystem_wpQueryRealName
|
|---|
| 177 | #define CWOGG_wpQueryFilename WPFileSystem_wpQueryFilename
|
|---|
| 178 | #define CWOGG_wpQueryDisk WPFileSystem_wpQueryDisk
|
|---|
| 179 | #define CWOGG_wpQueryDateInfo WPFileSystem_wpQueryDateInfo
|
|---|
| 180 | #define CWOGG_wpConfirmKeepAssoc WPFileSystem_wpConfirmKeepAssoc
|
|---|
| 181 | #define CWOGG_wpAddObjectGeneralPage WPObject_wpAddObjectGeneralPage
|
|---|
| 182 | #define CWOGG_wpAddObjectGeneralPage2 WPObject_wpAddObjectGeneralPage2
|
|---|
| 183 | #define CWOGG_wpAddObjectWindowPage WPObject_wpAddObjectWindowPage
|
|---|
| 184 | #define CWOGG_wpAddSettingsPages WPObject_wpAddSettingsPages
|
|---|
| 185 | #define CWOGG_wpAddToObjUseList WPObject_wpAddToObjUseList
|
|---|
| 186 | #define CWOGG_wpAllocMem WPObject_wpAllocMem
|
|---|
| 187 | #define CWOGG_wpAppendObject WPObject_wpAppendObject
|
|---|
| 188 | #define CWOGG_wpAssertObjectMutexSem WPObject_wpAssertObjectMutexSem
|
|---|
| 189 | #define CWOGG_wpClose WPObject_wpClose
|
|---|
| 190 | #define CWOGG_wpCnrInsertObject WPObject_wpCnrInsertObject
|
|---|
| 191 | #define CWOGG_wpCnrRemoveObject WPObject_wpCnrRemoveObject
|
|---|
| 192 | #define CWOGG_wpCnrSetEmphasis WPObject_wpCnrSetEmphasis
|
|---|
| 193 | #define CWOGG_wpConfirmDelete WPObject_wpConfirmDelete
|
|---|
| 194 | #define CWOGG_wpConfirmObjectTitle WPObject_wpConfirmObjectTitle
|
|---|
| 195 | #define CWOGG_wpCopiedFromTemplate WPObject_wpCopiedFromTemplate
|
|---|
| 196 | #define CWOGG_wpCopyObject WPObject_wpCopyObject
|
|---|
| 197 | #define CWOGG_wpCreateAnother WPObject_wpCreateAnother
|
|---|
| 198 | #define CWOGG_wpCreateFromTemplate WPObject_wpCreateFromTemplate
|
|---|
| 199 | #define CWOGG_wpCreateShadowObject WPObject_wpCreateShadowObject
|
|---|
| 200 | #define CWOGG_wpDelete WPObject_wpDelete
|
|---|
| 201 | #define CWOGG_wpDeleteFromObjUseList WPObject_wpDeleteFromObjUseList
|
|---|
| 202 | #define CWOGG_wpDisplayHelp WPObject_wpDisplayHelp
|
|---|
| 203 | #define CWOGG_wpDisplayMenu WPObject_wpDisplayMenu
|
|---|
| 204 | #define CWOGG_wpDoesObjectMatch WPObject_wpDoesObjectMatch
|
|---|
| 205 | #define CWOGG_wpDraggedOverObject WPObject_wpDraggedOverObject
|
|---|
| 206 | #define CWOGG_wpDragOver WPObject_wpDragOver
|
|---|
| 207 | #define CWOGG_wpDrop WPObject_wpDrop
|
|---|
| 208 | #define CWOGG_wpDroppedOnObject WPObject_wpDroppedOnObject
|
|---|
| 209 | #define CWOGG_wpEndConversation WPObject_wpEndConversation
|
|---|
| 210 | #define CWOGG_wpFilterPopupMenu WPObject_wpFilterPopupMenu
|
|---|
| 211 | #define CWOGG_wpFindUseItem WPObject_wpFindUseItem
|
|---|
| 212 | #define CWOGG_wpFormatDragItem WPObject_wpFormatDragItem
|
|---|
| 213 | #define CWOGG_wpFree WPObject_wpFree
|
|---|
| 214 | #define CWOGG_wpFreeMem WPObject_wpFreeMem
|
|---|
| 215 | #define CWOGG_wpHide WPObject_wpHide
|
|---|
| 216 | #define CWOGG_wpInitData WPObject_wpInitData
|
|---|
| 217 | #define CWOGG_wpInsertPopupMenuItems WPObject_wpInsertPopupMenuItems
|
|---|
| 218 | #define CWOGG_wpInsertSettingsPage WPObject_wpInsertSettingsPage
|
|---|
| 219 | #define CWOGG_wpMenuItemHelpSelected WPObject_wpMenuItemHelpSelected
|
|---|
| 220 | #define CWOGG_wpMenuItemSelected WPObject_wpMenuItemSelected
|
|---|
| 221 | #define CWOGG_wpModifyPopupMenu WPObject_wpModifyPopupMenu
|
|---|
| 222 | #define CWOGG_wpMoveObject WPObject_wpMoveObject
|
|---|
| 223 | #define CWOGG_wpOpen WPObject_wpOpen
|
|---|
| 224 | #define CWOGG_wpPrintObject WPObject_wpPrintObject
|
|---|
| 225 | #define CWOGG_wpQueryConcurrentView WPObject_wpQueryConcurrentView
|
|---|
| 226 | #define CWOGG_wpQueryButtonAppearance WPObject_wpQueryButtonAppearance
|
|---|
| 227 | #define CWOGG_wpQueryConfirmations WPObject_wpQueryConfirmations
|
|---|
| 228 | #define CWOGG_wpQueryDefaultHelp WPObject_wpQueryDefaultHelp
|
|---|
| 229 | #define CWOGG_wpQueryDefaultView WPObject_wpQueryDefaultView
|
|---|
| 230 | #define CWOGG_wpQueryDetailsData WPObject_wpQueryDetailsData
|
|---|
| 231 | #define CWOGG_wpQueryError WPObject_wpQueryError
|
|---|
| 232 | #define CWOGG_wpSetFolder WPObject_wpSetFolder
|
|---|
| 233 | #define CWOGG_wpQueryFolder WPObject_wpQueryFolder
|
|---|
| 234 | #define CWOGG_wpQueryIcon WPObject_wpQueryIcon
|
|---|
| 235 | #define CWOGG_wpQueryIconData WPObject_wpQueryIconData
|
|---|
| 236 | #define CWOGG_wpQueryMinWindow WPObject_wpQueryMinWindow
|
|---|
| 237 | #define CWOGG_wpQueryNameClashOptions WPObject_wpQueryNameClashOptions
|
|---|
| 238 | #define CWOGG_wpQueryStyle WPObject_wpQueryStyle
|
|---|
| 239 | #define CWOGG_wpSetTaskRec WPObject_wpSetTaskRec
|
|---|
| 240 | #define CWOGG_wpFindTaskRec WPObject_wpFindTaskRec
|
|---|
| 241 | #define CWOGG_wpQueryTitle WPObject_wpQueryTitle
|
|---|
| 242 | #define CWOGG_wpRegisterView WPObject_wpRegisterView
|
|---|
| 243 | #define CWOGG_wpReleaseObjectMutexSem WPObject_wpReleaseObjectMutexSem
|
|---|
| 244 | #define CWOGG_wpRender WPObject_wpRender
|
|---|
| 245 | #define CWOGG_wpRenderComplete WPObject_wpRenderComplete
|
|---|
| 246 | #define CWOGG_wpReplaceObject WPObject_wpReplaceObject
|
|---|
| 247 | #define CWOGG_wpRequestObjectMutexSem WPObject_wpRequestObjectMutexSem
|
|---|
| 248 | #define CWOGG_wpRestore WPObject_wpRestore
|
|---|
| 249 | #define CWOGG_wpRestoreData WPObject_wpRestoreData
|
|---|
| 250 | #define CWOGG_wpRestoreLong WPObject_wpRestoreLong
|
|---|
| 251 | #define CWOGG_wpRestoreState WPObject_wpRestoreState
|
|---|
| 252 | #define CWOGG_wpRestoreString WPObject_wpRestoreString
|
|---|
| 253 | #define CWOGG_wpSaveData WPObject_wpSaveData
|
|---|
| 254 | #define CWOGG_wpSaveImmediate WPObject_wpSaveImmediate
|
|---|
| 255 | #define CWOGG_wpSaveDeferred WPObject_wpSaveDeferred
|
|---|
| 256 | #define CWOGG_wpSaveLong WPObject_wpSaveLong
|
|---|
| 257 | #define CWOGG_wpSaveString WPObject_wpSaveString
|
|---|
| 258 | #define CWOGG_wpScanSetupString WPObject_wpScanSetupString
|
|---|
| 259 | #define CWOGG_wpSetConcurrentView WPObject_wpSetConcurrentView
|
|---|
| 260 | #define CWOGG_wpSetButtonAppearance WPObject_wpSetButtonAppearance
|
|---|
| 261 | #define CWOGG_wpSetDefaultHelp WPObject_wpSetDefaultHelp
|
|---|
| 262 | #define CWOGG_wpSetDefaultView WPObject_wpSetDefaultView
|
|---|
| 263 | #define CWOGG_wpSetError WPObject_wpSetError
|
|---|
| 264 | #define CWOGG_wpSetIconHandle WPObject_wpSetIconHandle
|
|---|
| 265 | #define CWOGG_wpQueryScreenGroupID WPObject_wpQueryScreenGroupID
|
|---|
| 266 | #define CWOGG_wpSetupOnce WPObject_wpSetupOnce
|
|---|
| 267 | #define CWOGG_wpSetIcon WPObject_wpSetIcon
|
|---|
| 268 | #define CWOGG_wpSetIconData WPObject_wpSetIconData
|
|---|
| 269 | #define CWOGG_wpSetMinWindow WPObject_wpSetMinWindow
|
|---|
| 270 | #define CWOGG_wpSetStyle WPObject_wpSetStyle
|
|---|
| 271 | #define CWOGG_wpModifyStyle WPObject_wpModifyStyle
|
|---|
| 272 | #define CWOGG_wpSetTitle WPObject_wpSetTitle
|
|---|
| 273 | #define CWOGG_wpSetup WPObject_wpSetup
|
|---|
| 274 | #define CWOGG_wpSwitchTo WPObject_wpSwitchTo
|
|---|
| 275 | #define CWOGG_wpUnInitData WPObject_wpUnInitData
|
|---|
| 276 | #define CWOGG_wpViewObject WPObject_wpViewObject
|
|---|
| 277 | #define CWOGG_wpQueryTrueStyle WPObject_wpQueryTrueStyle
|
|---|
| 278 | #define CWOGG_wpQueryHandle WPObject_wpQueryHandle
|
|---|
| 279 | #define CWOGG_wpUnlockObject WPObject_wpUnlockObject
|
|---|
| 280 | #define CWOGG_wpIsObjectInitialized WPObject_wpIsObjectInitialized
|
|---|
| 281 | #define CWOGG_wpCreateShadowObjectExt WPObject_wpCreateShadowObjectExt
|
|---|
| 282 | #define CWOGG_wpCnrDeleteUseItem WPObject_wpCnrDeleteUseItem
|
|---|
| 283 | #define CWOGG_wpIsDeleteable WPObject_wpIsDeleteable
|
|---|
| 284 | #define CWOGG_wpQueryCoreRecord WPObject_wpQueryCoreRecord
|
|---|
| 285 | #define CWOGG_wpSetObjectID WPObject_wpSetObjectID
|
|---|
| 286 | #define CWOGG_wpQueryObjectID WPObject_wpQueryObjectID
|
|---|
| 287 | #define CWOGG_wpSetDefaultIconPos WPObject_wpSetDefaultIconPos
|
|---|
| 288 | #define CWOGG_wpQueryDefaultIconPos WPObject_wpQueryDefaultIconPos
|
|---|
| 289 | #define CWOGG_wpCnrRefreshDetails WPObject_wpCnrRefreshDetails
|
|---|
| 290 | #define CWOGG_wpFindViewItem WPObject_wpFindViewItem
|
|---|
| 291 | #define CWOGG_wpLockObject WPObject_wpLockObject
|
|---|
| 292 | #define CWOGG_wpIsLocked WPObject_wpIsLocked
|
|---|
| 293 | #define CWOGG_wpQueryContainerFlagPtr WPObject_wpQueryContainerFlagPtr
|
|---|
| 294 | #define CWOGG_wpWaitForClose WPObject_wpWaitForClose
|
|---|
| 295 | #define CWOGG_somDefaultInit SOMObject_somDefaultInit
|
|---|
| 296 | #define CWOGG_somDestruct SOMObject_somDestruct
|
|---|
| 297 | #define CWOGG_somDefaultCopyInit SOMObject_somDefaultCopyInit
|
|---|
| 298 | #define CWOGG_somDefaultAssign SOMObject_somDefaultAssign
|
|---|
| 299 | #define CWOGG_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
|
|---|
| 300 | #define CWOGG_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
|
|---|
| 301 | #define CWOGG_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
|
|---|
| 302 | #define CWOGG_somDefaultConstAssign SOMObject_somDefaultConstAssign
|
|---|
| 303 | #define CWOGG_somDefaultVAssign SOMObject_somDefaultVAssign
|
|---|
| 304 | #define CWOGG_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
|
|---|
| 305 | #define CWOGG_somInit SOMObject_somInit
|
|---|
| 306 | #define CWOGG_somFree SOMObject_somFree
|
|---|
| 307 | #define CWOGG_somUninit SOMObject_somUninit
|
|---|
| 308 | #define CWOGG_somGetClass SOMObject_somGetClass
|
|---|
| 309 | #define CWOGG_somGetClassName SOMObject_somGetClassName
|
|---|
| 310 | #define CWOGG_somGetSize SOMObject_somGetSize
|
|---|
| 311 | #define CWOGG_somIsA SOMObject_somIsA
|
|---|
| 312 | #define CWOGG_somIsInstanceOf SOMObject_somIsInstanceOf
|
|---|
| 313 | #define CWOGG_somRespondsTo SOMObject_somRespondsTo
|
|---|
| 314 | #define CWOGG_somDispatch SOMObject_somDispatch
|
|---|
| 315 | #define CWOGG_somClassDispatch SOMObject_somClassDispatch
|
|---|
| 316 | #define CWOGG_somCastObj SOMObject_somCastObj
|
|---|
| 317 | #define CWOGG_somResetObj SOMObject_somResetObj
|
|---|
| 318 | #define CWOGG_somDispatchV SOMObject_somDispatchV
|
|---|
| 319 | #define CWOGG_somDispatchL SOMObject_somDispatchL
|
|---|
| 320 | #define CWOGG_somDispatchA SOMObject_somDispatchA
|
|---|
| 321 | #define CWOGG_somDispatchD SOMObject_somDispatchD
|
|---|
| 322 | #define CWOGG_somPrintSelf SOMObject_somPrintSelf
|
|---|
| 323 | #define CWOGG_somDumpSelf SOMObject_somDumpSelf
|
|---|
| 324 | #define CWOGG_somDumpSelfInt SOMObject_somDumpSelfInt
|
|---|
| 325 | #endif /* SOM_DONT_USE_INHERITED_MACROS */
|
|---|
| 326 |
|
|---|
| 327 | #endif /* SOM_CWOGG_h */
|
|---|
| 328 |
|
|---|
| 329 | #ifndef SOM_M_CWOGG_h
|
|---|
| 330 | #define SOM_M_CWOGG_h
|
|---|
| 331 |
|
|---|
| 332 |
|
|---|
| 333 | #include <som.h>
|
|---|
| 334 |
|
|---|
| 335 | /*
|
|---|
| 336 | * -- This emitter treats Method Tokens as Thunks by default.
|
|---|
| 337 | * -- Use the sc modifier "nothunks" to change this default
|
|---|
| 338 | */
|
|---|
| 339 | #undef somresolve_
|
|---|
| 340 | #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
|
|---|
| 341 |
|
|---|
| 342 | /*
|
|---|
| 343 | * Define the class name as an object type
|
|---|
| 344 | */
|
|---|
| 345 | #ifndef M_CWOGG
|
|---|
| 346 | #define M_CWOGG SOMObject
|
|---|
| 347 | #endif
|
|---|
| 348 | #include <cwaudio.h>
|
|---|
| 349 |
|
|---|
| 350 | /*
|
|---|
| 351 | * Start of user-defined types:
|
|---|
| 352 | */
|
|---|
| 353 |
|
|---|
| 354 | /*
|
|---|
| 355 | * End of user-defined types.
|
|---|
| 356 | */
|
|---|
| 357 |
|
|---|
| 358 | #define M_CWOGG_MajorVersion 1
|
|---|
| 359 | #define M_CWOGG_MinorVersion 2
|
|---|
| 360 |
|
|---|
| 361 | /*
|
|---|
| 362 | * External name shortening if required
|
|---|
| 363 | */
|
|---|
| 364 | #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
|
|---|
| 365 | #define M_CWOGGNewClass cwoggMc
|
|---|
| 366 | #pragma linkage(cwoggMc, system)
|
|---|
| 367 | #define M_CWOGGClassData cwoggMd
|
|---|
| 368 | #define M_CWOGGCClassData cwoggMx
|
|---|
| 369 | #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
|
|---|
| 370 | /*--------------Migration------------*/
|
|---|
| 371 | #define M_CWOGG_classObj M_CWOGGClassData.classObject
|
|---|
| 372 | #define _M_CWOGG M_CWOGG_classObj
|
|---|
| 373 |
|
|---|
| 374 | /*
|
|---|
| 375 | * Declare the class creation procedure
|
|---|
| 376 | */
|
|---|
| 377 | SOMEXTERN SOMClass * SOMLINK M_CWOGGNewClass(integer4 somtmajorVersion,
|
|---|
| 378 | integer4 somtminorVersion);
|
|---|
| 379 | #pragma linkage(M_CWOGGNewClass, system)
|
|---|
| 380 |
|
|---|
| 381 | /*
|
|---|
| 382 | * Declare the class data structure
|
|---|
| 383 | */
|
|---|
| 384 | SOMEXTERN struct M_CWOGGClassDataStructure {
|
|---|
| 385 | SOMClass *classObject;
|
|---|
| 386 | } SOMDLINK M_CWOGGClassData;
|
|---|
| 387 |
|
|---|
| 388 | /*
|
|---|
| 389 | * Declare the C specific class data structure
|
|---|
| 390 | */
|
|---|
| 391 | SOMEXTERN struct M_CWOGGCClassDataStructure {
|
|---|
| 392 | somMethodTabs parentMtab;
|
|---|
| 393 | somDToken instanceDataToken;
|
|---|
| 394 | } SOMDLINK M_CWOGGCClassData;
|
|---|
| 395 |
|
|---|
| 396 | /*
|
|---|
| 397 | * New and Renew macros for M_CWOGG
|
|---|
| 398 | */
|
|---|
| 399 | #define M_CWOGGNew() \
|
|---|
| 400 | (_somNew(_M_CWOGG ? _M_CWOGG : M_CWOGGNewClass(M_CWOGG_MajorVersion, M_CWOGG_MinorVersion)))
|
|---|
| 401 | #define M_CWOGGRenew(buf) \
|
|---|
| 402 | (_somRenew(_M_CWOGG ? _M_CWOGG : M_CWOGGNewClass(M_CWOGG_MajorVersion, M_CWOGG_MinorVersion), buf))
|
|---|
| 403 |
|
|---|
| 404 | /*
|
|---|
| 405 | * Override method: wpclsQueryTitle
|
|---|
| 406 | */
|
|---|
| 407 | #define M_CWOGG_wpclsQueryTitle(somSelf) \
|
|---|
| 408 | M_WPObject_wpclsQueryTitle(somSelf)
|
|---|
| 409 |
|
|---|
| 410 | /*
|
|---|
| 411 | * Override method: wpclsQueryInstanceType
|
|---|
| 412 | */
|
|---|
| 413 | #define M_CWOGG_wpclsQueryInstanceType(somSelf) \
|
|---|
| 414 | M_WPFileSystem_wpclsQueryInstanceType(somSelf)
|
|---|
| 415 |
|
|---|
| 416 | /*
|
|---|
| 417 | * Override method: wpclsQueryInstanceFilter
|
|---|
| 418 | */
|
|---|
| 419 | #define M_CWOGG_wpclsQueryInstanceFilter(somSelf) \
|
|---|
| 420 | M_WPFileSystem_wpclsQueryInstanceFilter(somSelf)
|
|---|
| 421 |
|
|---|
| 422 | /*
|
|---|
| 423 | * Override method: wpclsQueryIconData
|
|---|
| 424 | */
|
|---|
| 425 | #define M_CWOGG_wpclsQueryIconData(somSelf,pIconInfo) \
|
|---|
| 426 | M_WPObject_wpclsQueryIconData(somSelf,pIconInfo)
|
|---|
| 427 |
|
|---|
| 428 | /*
|
|---|
| 429 | * Override method: wpclsQueryDefaultHelp
|
|---|
| 430 | */
|
|---|
| 431 | #define M_CWOGG_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary) \
|
|---|
| 432 | M_WPObject_wpclsQueryDefaultHelp(somSelf,pHelpPanelId,pszHelpLibrary)
|
|---|
| 433 | #ifndef SOM_DONT_USE_INHERITED_MACROS
|
|---|
| 434 | #define M_CWOGG_wpclsQueryAwakeObject M_WPFileSystem_wpclsQueryAwakeObject
|
|---|
| 435 | #define M_CWOGG_wpclsFileSysExists M_WPFileSystem_wpclsFileSysExists
|
|---|
| 436 | #define M_CWOGG_wpclsQueryObjectFromPath M_WPFileSystem_wpclsQueryObjectFromPath
|
|---|
| 437 | #define M_CWOGG_wpclsCreateDefaultTemplates M_WPObject_wpclsCreateDefaultTemplates
|
|---|
| 438 | #define M_CWOGG_wpclsInitData M_WPObject_wpclsInitData
|
|---|
| 439 | #define M_CWOGG_wpclsMakeAwake M_WPObject_wpclsMakeAwake
|
|---|
| 440 | #define M_CWOGG_wpclsNew M_WPObject_wpclsNew
|
|---|
| 441 | #define M_CWOGG_wpclsQueryDefaultView M_WPObject_wpclsQueryDefaultView
|
|---|
| 442 | #define M_CWOGG_wpclsQueryDetails M_WPObject_wpclsQueryDetails
|
|---|
| 443 | #define M_CWOGG_wpclsQueryDetailsInfo M_WPObject_wpclsQueryDetailsInfo
|
|---|
| 444 | #define M_CWOGG_wpclsQueryExtendedCriteria M_WPObject_wpclsQueryExtendedCriteria
|
|---|
| 445 | #define M_CWOGG_wpclsQueryFolder M_WPObject_wpclsQueryFolder
|
|---|
| 446 | #define M_CWOGG_wpclsQueryIcon M_WPObject_wpclsQueryIcon
|
|---|
| 447 | #define M_CWOGG_wpclsQuerySearchInfo M_WPObject_wpclsQuerySearchInfo
|
|---|
| 448 | #define M_CWOGG_wpclsQueryStyle M_WPObject_wpclsQueryStyle
|
|---|
| 449 | #define M_CWOGG_wpclsUnInitData M_WPObject_wpclsUnInitData
|
|---|
| 450 | #define M_CWOGG_wpclsFindObjectFirst M_WPObject_wpclsFindObjectFirst
|
|---|
| 451 | #define M_CWOGG_wpclsFindObjectNext M_WPObject_wpclsFindObjectNext
|
|---|
| 452 | #define M_CWOGG_wpclsFindObjectEnd M_WPObject_wpclsFindObjectEnd
|
|---|
| 453 | #define M_CWOGG_wpclsSetError M_WPObject_wpclsSetError
|
|---|
| 454 | #define M_CWOGG_wpclsQueryError M_WPObject_wpclsQueryError
|
|---|
| 455 | #define M_CWOGG_wpclsQuerySettingsPageSize M_WPObject_wpclsQuerySettingsPageSize
|
|---|
| 456 | #define M_CWOGG_wpclsQueryObject M_WPObject_wpclsQueryObject
|
|---|
| 457 | #define M_CWOGG_wpclsQueryButtonAppearance M_WPObject_wpclsQueryButtonAppearance
|
|---|
| 458 | #define M_CWOGG_wpclsDecUsage M_WPObject_wpclsDecUsage
|
|---|
| 459 | #define M_CWOGG_wpclsIncUsage M_WPObject_wpclsIncUsage
|
|---|
| 460 | #define M_CWOGG_wpclsInsertMultipleObjects M_WPObject_wpclsInsertMultipleObjects
|
|---|
| 461 | #define M_CWOGG_wpclsFindOneObject M_WPObject_wpclsFindOneObject
|
|---|
| 462 | #define M_CWOGG_wpclsSetSettingsPageSize M_WPObject_wpclsSetSettingsPageSize
|
|---|
| 463 | #define M_CWOGG_wpclsSetIconData M_WPObject_wpclsSetIconData
|
|---|
| 464 | #define M_CWOGG_wpclsSetIcon M_WPObject_wpclsSetIcon
|
|---|
| 465 | #define M_CWOGG_wpclsObjectFromHandle M_WPObject_wpclsObjectFromHandle
|
|---|
| 466 | #define M_CWOGG_wpclsRemoveObjects M_WPObject_wpclsRemoveObjects
|
|---|
| 467 | #define M_CWOGG__get_somDataAlignment SOMClass__get_somDataAlignment
|
|---|
| 468 | #define M_CWOGG__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
|
|---|
| 469 | #define M_CWOGG__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
|
|---|
| 470 | #define M_CWOGG__set_somDirectInitClasses SOMClass__set_somDirectInitClasses
|
|---|
| 471 | #define M_CWOGG_somNew SOMClass_somNew
|
|---|
| 472 | #define M_CWOGG_somNewNoInit SOMClass_somNewNoInit
|
|---|
| 473 | #define M_CWOGG_somRenew SOMClass_somRenew
|
|---|
| 474 | #define M_CWOGG_somRenewNoInit SOMClass_somRenewNoInit
|
|---|
| 475 | #define M_CWOGG_somRenewNoZero SOMClass_somRenewNoZero
|
|---|
| 476 | #define M_CWOGG_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
|
|---|
| 477 | #define M_CWOGG_somAllocate SOMClass_somAllocate
|
|---|
| 478 | #define M_CWOGG_somDeallocate SOMClass_somDeallocate
|
|---|
| 479 | #define M_CWOGG__get_somClassAllocate SOMClass__get_somClassAllocate
|
|---|
| 480 | #define M_CWOGG__get_somClassDeallocate SOMClass__get_somClassDeallocate
|
|---|
| 481 | #define M_CWOGG_somGetInstanceInitMask SOMClass_somGetInstanceInitMask
|
|---|
| 482 | #define M_CWOGG_somGetInstanceDestructionMask SOMClass_somGetInstanceDestructionMask
|
|---|
| 483 | #define M_CWOGG_somGetInstanceAssignmentMask SOMClass_somGetInstanceAssignmentMask
|
|---|
| 484 | #define M_CWOGG_somInitClass SOMClass_somInitClass
|
|---|
| 485 | #define M_CWOGG_somInitMIClass SOMClass_somInitMIClass
|
|---|
| 486 | #define M_CWOGG_somAddStaticMethod SOMClass_somAddStaticMethod
|
|---|
| 487 | #define M_CWOGG_somAddDynamicMethod SOMClass_somAddDynamicMethod
|
|---|
| 488 | #define M_CWOGG_somOverrideSMethod SOMClass_somOverrideSMethod
|
|---|
| 489 | #define M_CWOGG_somClassReady SOMClass_somClassReady
|
|---|
| 490 | #define M_CWOGG_somGetApplyStub SOMClass_somGetApplyStub
|
|---|
| 491 | #define M_CWOGG_somGetClassData SOMClass_somGetClassData
|
|---|
| 492 | #define M_CWOGG_somSetClassData SOMClass_somSetClassData
|
|---|
| 493 | #define M_CWOGG_somGetClassMtab SOMClass_somGetClassMtab
|
|---|
| 494 | #define M_CWOGG_somGetInstanceOffset SOMClass_somGetInstanceOffset
|
|---|
| 495 | #define M_CWOGG_somGetInstancePartSize SOMClass_somGetInstancePartSize
|
|---|
| 496 | #define M_CWOGG_somGetInstanceSize SOMClass_somGetInstanceSize
|
|---|
| 497 | #define M_CWOGG_somGetInstanceToken SOMClass_somGetInstanceToken
|
|---|
| 498 | #define M_CWOGG_somGetMemberToken SOMClass_somGetMemberToken
|
|---|
| 499 | #define M_CWOGG_somGetMethodData SOMClass_somGetMethodData
|
|---|
| 500 | #define M_CWOGG_somGetRdStub SOMClass_somGetRdStub
|
|---|
| 501 | #define M_CWOGG_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
|
|---|
| 502 | #define M_CWOGG_somGetMethodIndex SOMClass_somGetMethodIndex
|
|---|
| 503 | #define M_CWOGG_somGetMethodToken SOMClass_somGetMethodToken
|
|---|
| 504 | #define M_CWOGG_somGetName SOMClass_somGetName
|
|---|
| 505 | #define M_CWOGG_somGetNthMethodData SOMClass_somGetNthMethodData
|
|---|
| 506 | #define M_CWOGG_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
|
|---|
| 507 | #define M_CWOGG_somGetNumMethods SOMClass_somGetNumMethods
|
|---|
| 508 | #define M_CWOGG_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
|
|---|
| 509 | #define M_CWOGG_somGetParent SOMClass_somGetParent
|
|---|
| 510 | #define M_CWOGG_somGetParents SOMClass_somGetParents
|
|---|
| 511 | #define M_CWOGG_somGetPClsMtab SOMClass_somGetPClsMtab
|
|---|
| 512 | #define M_CWOGG_somGetPClsMtabs SOMClass_somGetPClsMtabs
|
|---|
| 513 | #define M_CWOGG_somGetVersionNumbers SOMClass_somGetVersionNumbers
|
|---|
| 514 | #define M_CWOGG_somSetMethodDescriptor SOMClass_somSetMethodDescriptor
|
|---|
| 515 | #define M_CWOGG_somFindMethod SOMClass_somFindMethod
|
|---|
| 516 | #define M_CWOGG_somFindMethodOk SOMClass_somFindMethodOk
|
|---|
| 517 | #define M_CWOGG_somFindSMethod SOMClass_somFindSMethod
|
|---|
| 518 | #define M_CWOGG_somFindSMethodOk SOMClass_somFindSMethodOk
|
|---|
| 519 | #define M_CWOGG_somLookupMethod SOMClass_somLookupMethod
|
|---|
| 520 | #define M_CWOGG_somCheckVersion SOMClass_somCheckVersion
|
|---|
| 521 | #define M_CWOGG_somDescendedFrom SOMClass_somDescendedFrom
|
|---|
| 522 | #define M_CWOGG_somSupportsMethod SOMClass_somSupportsMethod
|
|---|
| 523 | #define M_CWOGG_somDefinedMethod SOMClass_somDefinedMethod
|
|---|
| 524 | #define M_CWOGG_somOverrideMtab SOMClass_somOverrideMtab
|
|---|
| 525 | #define M_CWOGG_somDefaultInit SOMObject_somDefaultInit
|
|---|
| 526 | #define M_CWOGG_somDestruct SOMObject_somDestruct
|
|---|
| 527 | #define M_CWOGG_somDefaultCopyInit SOMObject_somDefaultCopyInit
|
|---|
| 528 | #define M_CWOGG_somDefaultAssign SOMObject_somDefaultAssign
|
|---|
| 529 | #define M_CWOGG_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
|
|---|
| 530 | #define M_CWOGG_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
|
|---|
| 531 | #define M_CWOGG_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
|
|---|
| 532 | #define M_CWOGG_somDefaultConstAssign SOMObject_somDefaultConstAssign
|
|---|
| 533 | #define M_CWOGG_somDefaultVAssign SOMObject_somDefaultVAssign
|
|---|
| 534 | #define M_CWOGG_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
|
|---|
| 535 | #define M_CWOGG_somInit SOMObject_somInit
|
|---|
| 536 | #define M_CWOGG_somFree SOMObject_somFree
|
|---|
| 537 | #define M_CWOGG_somUninit SOMObject_somUninit
|
|---|
| 538 | #define M_CWOGG_somGetClass SOMObject_somGetClass
|
|---|
| 539 | #define M_CWOGG_somGetClassName SOMObject_somGetClassName
|
|---|
| 540 | #define M_CWOGG_somGetSize SOMObject_somGetSize
|
|---|
| 541 | #define M_CWOGG_somIsA SOMObject_somIsA
|
|---|
| 542 | #define M_CWOGG_somIsInstanceOf SOMObject_somIsInstanceOf
|
|---|
| 543 | #define M_CWOGG_somRespondsTo SOMObject_somRespondsTo
|
|---|
| 544 | #define M_CWOGG_somDispatch SOMObject_somDispatch
|
|---|
| 545 | #define M_CWOGG_somClassDispatch SOMObject_somClassDispatch
|
|---|
| 546 | #define M_CWOGG_somCastObj SOMObject_somCastObj
|
|---|
| 547 | #define M_CWOGG_somResetObj SOMObject_somResetObj
|
|---|
| 548 | #define M_CWOGG_somDispatchV SOMObject_somDispatchV
|
|---|
| 549 | #define M_CWOGG_somDispatchL SOMObject_somDispatchL
|
|---|
| 550 | #define M_CWOGG_somDispatchA SOMObject_somDispatchA
|
|---|
| 551 | #define M_CWOGG_somDispatchD SOMObject_somDispatchD
|
|---|
| 552 | #define M_CWOGG_somPrintSelf SOMObject_somPrintSelf
|
|---|
| 553 | #define M_CWOGG_somDumpSelf SOMObject_somDumpSelf
|
|---|
| 554 | #define M_CWOGG_somDumpSelfInt SOMObject_somDumpSelfInt
|
|---|
| 555 | #endif /* SOM_DONT_USE_INHERITED_MACROS */
|
|---|
| 556 |
|
|---|
| 557 | #endif /* SOM_M_CWOGG_h */
|
|---|