ftp.nice.ch/pub/next/connectivity/news/NewsBase.3.02.s.tar.gz#/NewsBase302.source/NNTP/common.subproj/Localization.h

This is Localization.h in view mode; [Download] [Up]

/* You may freely copy, distribute, and reuse the code in this example.
 * NeXT disclaims any warranty of any kind, expressed or  implied, as to
 * its fitness for any particular use.
 */

#import <appkit/Application.h>
#import <defaults/defaults.h>
#import <streams/streams.h>
#import <time.h>

#define LocalString(key, value, comment) doLocalString(NULL, key, value)
#define LocalStringFromTable(table, key, value, comment)      \
    doLocalString(#table, key, value)

extern id LoadLocalNib(const char *nibFile, id owner,
				BOOL withName,NXZone *zone);
extern NXStream *LocalMapFile(const char *file, int flag);

extern id LocalImage(const char *file);

extern void InitLocalDateAndTime();

extern void LocalDateAndTime(char *buffer,int  maxBufferSize, const time_t *time);
extern void LocalDate(char *buffer,int  maxBufferSize, const time_t *time);
extern void LocalTime(char *buffer,int maxBufferSize, const time_t *time);

extern const char *doLocalString(const char *stringTable, 
                                 const char *key, 
                                 const char *value);

/* Methods specific to AskMe app */
extern void getAppDirectory(char *appDirectory);
extern const char *findLocalDir();

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.