Problem: 1329980

Title: (Gestalts) HasDragManager, HasAOCE are conditionally compiled.

Received: Mar 6 1996 10:51AM


This came up for my QD3D classes. Since HasDragManager, etc. are in the files they support, they are conditionally compiled under qDrag. Therefore, I can only use them if my application supports D&D. For my example, I might not want to have a D&D MacApp application, but I need to check for the presence of the Drag Manager. I think we should move all feature-specific "Has" methods to the MacAppUtilites, where the other ones are.
Fix:

Well, apparently ACS has come and changed this once again. Most "Has" functions are located in Configuration_AC.cp - so it IS a grab bag approach. However, as these may be needed in ACS or by a developer using ACS but not MacApp, it looks like that's the way things are going to stay. I have scanned through and made sure the "Has" functions aren't dependent on a corresponding "q" flag. i.e. "HasDragManager" now does return true if there is a DragManager regardless of qDrag. As certain features get moved into ACS their "Has" function can be migrated - Threads and AGA Appearance both have their respective "Has" functions within their own suite.