Thread View: comp.sys.next.programmer
1 messages
1 total messages
Started by Rex Pruess
Mon, 12 Oct 1992 23:19
Finding Services my app provides
Author: Rex Pruess
Date: Mon, 12 Oct 1992 23:19
Date: Mon, 12 Oct 1992 23:19
22 lines
1766 bytes
1766 bytes
I have an application which provides services to other apps. These are
static services, determined at compile/load time using a "services" file.
In my app's Preferences, I give the user the option of enabling/disabling
individual Service items, per NeXT's recommendations.
Each time I change my app's "services" file, I must invoke InterfaceBuilder
& update my Preferences panel to reflect the changes. I'd rather not do
that. Instead, I'd like to build the Preferences list dynamically, based
on the contents of my static services file. But, I can't figure out how to
find the contents of my static services file at run time. I'd like
something along the lines of:
myMenuServicesToOthers = [NXapp menuServicesMyAppProvides];
Note: I have no need to provide dynamic services. I just need a way at
runtime to find the static services my app provides to other apps.
If it matters, I'm running NeXTSTEP Release 3.0.
--
----------------------------------------------------------------------------
Rex Pruess, Weeg Computing Center, University of Iowa, Iowa City, IA
NeXTmail: Rex-Pruess@uiowa.edu ......... Phone: (319) 335-5452
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads