[Top][All Lists]

[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



On 2003-10-06 21:23:03 +0200 Björn Giesler <address@hidden> wrote:

> Hi,


> 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?


> 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:


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/* 

Best regards,

Stefan Urbanek

First they ignore you, then they laugh at you, then they fight you, then you 
- Mahatma Gandhi


Attachment: ScriptingInfo.plist
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]