This is Preferences.h in view mode; [Download] [Up]
#import <appkit/appkit.h>
@class BibTexView;
#define LBRACE '{'
#define RBRACE '}'
#define REQUIRED 1
#define OPTIONAL 2
#define CUSTOM 3
#define SHOW 4
#define LARGE 8
#define MODESIZE 20
typedef struct{
NXAtom fieldName; // fieldname
int start; // Parser : first character of entry
int length; // Parser : length of entry
short tag; // position in 'form' of the entryInspector
unsigned short mode[MODESIZE]; // mode for all entryTypes
}configListType;
// toggle list structure
typedef struct{
int entryIndex;
NXAtom txt0;
NXAtom txt1;
int tglButtonInx;
int formInx;
id tglButton;
unsigned char isInWindow;
unsigned char state;
unsigned char label;
}toggleListType;
@interface Preferences:Object
{
Storage *configList;
List *entryNameList;
List *fieldNameList;
BibTexView *inspector;
int token;
const char *tempDir;
const char *libDir;
const char *configurationFile;
const char *shelfFile;
const char *templateFile;
const char *theShell;
const char *theEditor;
const char *theStyle;
NXStream *configStream;
int lineNumber;
int entryIndex;
int fieldConversion;
int entryConversion;
id fieldRadio;
id entryRadio;
id prefPanel;
id popUpButton;
PopUpList *popUpList;
id scrollView;
id validButton;
id fieldNameField;
id theShelf;
id showBox;
id entryView;
id shelfView;
id filenameView;
id tableView;
int rowCount;
int columnCount;
id shelfMatrix;
id styleBrowser;
id styleView;
id expertView;
id addButton;
id renameButton;
id deleteButton;
id removeTempButton;
id defaultForm;
id citeTextButton;
id citeStyleButton;
id customCiteText;
id styleText;
id tabCellView;
Matrix *tabMatrix;
toggleListType toggleList[20];
BOOL tableViewIsLoaded;
BOOL removeTemp;
}
- (int)findIndexFor:(int)inx :(unsigned char)label;
- (toggleListType *)toggleList;
- saveConfiguration:sender;
- saveShelf:sender;
- parse;
- show;
- fieldFormatButton:sender;
- entryFormatButton:sender;
- removeTempButton:sender;
- (BOOL)shallRemoveTempFiles;
- openOnLaunch:sender;
- entryNameList;
- fieldNameList;
- configList;
- shelfDidChange;
- addFieldName:sender;
- changeFieldname:sender;
- deleteFieldname:sender;
- (void)addCustomField:(char *)name;
- (int)indexOfFieldname:(const char *)name;
- (int)indexOfEntryname:(const char *)name;
- (BOOL) canExecuteProgram:(const char *)prog;
- (List *)shellArgsOf:(const char *)para toBuffer:(char *)buf size:(int)size;
- (const char *)tempDirectory;
- (const char *)libDirectory;
- (const char *)templateFile;
- (const char *)shelfFile;
- (const char *)theShell;
- (const char *)theEditor;
- (const char *)theStyle;
- styleSingleClick:sender;
- styleDoubleClick:sender;
- (int)sortAlgorithm;
- (int)cutOff;
- citationStyle:sender;
- citationText:sender;
- (const char *) citeStyle;
- (const char *) citeText;
- (int)citeMode;
- setCustomcite:sender;
- nextShell:sender;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.