[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ANN: MyFolks Framework (Apple AddressBook compatible)
From: |
Stefan Urbanek |
Subject: |
Re: ANN: MyFolks Framework (Apple AddressBook compatible) |
Date: |
Mon, 06 Oct 2003 22:07:53 +0200 |
Hi,
Nice,...
On 2003-10-06 21:23:03 +0200 Björn Giesler <bjoern@giesler.de> wrote:
> Hi,
>
<snip>
> The framework is called "MyFolks" to avoid confusion with Apple's framework.
> For a similar reason, Contacts.app will be renamed to MyFolks.app to avoid
> confusion with the "contacts" command-line tool. The classes have been named
> differently (MF* instead of AB*) to be able to use both AddressBook.framework
> and MyFolks.framework in the same application, e.g. for migrating OSX address
> books to GNUstep. Please read the enclosed README file for further
> explanation on changes and extensions.
>
Just one question about prefixes... if you have used your own prefix MF instead
of AB, is there any reason why all globals have kMF prefix and why is that 'k'
there necessary? Would not it be better to use just MF prefix?
<snip>
> The archive contains the framework and a command-line tool which allows
> address book manipulation from the command line.
>
I have created ScriptingInfo.plist for your framework. It is attached. If you
want, you can add it to your sources and add following line into GNUmakefile:
MyFolks_RESOURCE_FILES=ScriptingInfo.plist
Then you can use it in StepTalk scripts:
Environment includeFramework:'MyFolks'
To see whether it works, try it in StepTalk Shell:
StepTalk > Environment includeFramework: 'MyFolks'
StepTalk > MFAddressBook sharedAddressBook methodNames
If you want to use "constants", like those strings in MFGlobals.h, then you
have to create a scripting info class like one created in StepTalk/Modules/*
directory.
Best regards,
Stefan Urbanek
--
http://urbanek.host.sk
First they ignore you, then they laugh at you, then they fight you, then you
win.
- Mahatma Gandhi
<ScriptingInfo.plist>
ScriptingInfo.plist
Description: Binary data