Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

main.cc File Reference

#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "analy_register.h"
#include "asm.h"
#include "htapp.h"
#include "htatom.h"
#include "htcfg.h"
#include "htclipboard.h"
#include "htcurses.h"
#include "htexcept.h"
#include "hthist.h"
#include "htiobox.h"
#include "htkeyb.h"
#include "htidle.h"
#include "htmenu.h"
#include "htpal.h"
#include "htinfo.h"
#include "htreg.h"
#include "htsys.h"
#include "info/infoview.h"
#include "log.h"
#include "stddata.h"

Go to the source code of this file.

Classes

struct  initdonefunc

Defines

#define INITDONE(name)   { init_##name, done_##name, #name }
#define PARAM_ERROR(a...)   {if (started) LOG_EX(LOG_ERROR, a);}
#define EXPECT_PARAMEND(b)   if ((j+1)!=len) { PARAM_ERROR("syntax error in options"); b;}
#define EXPECT_PARAMS(p, b)   if (i+p+1 > argc) { PARAM_ERROR("syntax error in options"); b;}
#define NOTHING   ((void)(0))

Typedefs

typedef bool(* initfunc )()
typedef void(* donefunc )()

Functions

int main (int argc, char *argv[])

Variables

char * htcopyrights []
initdonefunc initdone []
int htstate


Define Documentation

#define EXPECT_PARAMEND  )     if ((j+1)!=len) { PARAM_ERROR("syntax error in options"); b;}
 

#define EXPECT_PARAMS p,
 )     if (i+p+1 > argc) { PARAM_ERROR("syntax error in options"); b;}
 

#define INITDONE name   )     { init_##name, done_##name, #name }
 

Definition at line 69 of file main.cc.

#define NOTHING   ((void)(0))
 

#define PARAM_ERROR a...   )     {if (started) LOG_EX(LOG_ERROR, a);}
 


Typedef Documentation

typedef void(* donefunc)()
 

Definition at line 61 of file main.cc.

typedef bool(* initfunc)()
 

Definition at line 60 of file main.cc.


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 282 of file main.cc.

References app, appname, assert, button_ok, confirmbox_modal, ht_io_exception, ht_systemconfig_fileversion, htcopyrights, htstate, infobox, initdone, load_systemconfig(), loadstore_result, LOG, LOG_ERROR, LOG_EX, LOG_WARN, LS_ERROR_CORRUPTED, LS_ERROR_FORMAT, LS_ERROR_MAGIC, LS_ERROR_NOT_FOUND, LS_ERROR_READ, LS_ERROR_VERSION, LS_OK, msg_draw, NULL, save_systemconfig(), screen, SYSTEM_CONFIG_FILE_NAME, and systemconfig_file.


Variable Documentation

char* htcopyrights[]
 

Initial value:

{
        ht_name" "ht_version" ("HT_SYS_NAME") "__TIME__" on "__DATE__,
        ht_copyright1,
        ht_copyright2,
        NULL
}

Definition at line 46 of file main.cc.

Referenced by main().

int htstate
 

Definition at line 91 of file main.cc.

Referenced by main().

initdonefunc initdone[]
 

Initial value:

 {
        INITDONE(system),
        INITDONE(atom),
        INITDONE(string),
        INITDONE(data),
        INITDONE(pal),
        INITDONE(registry),
        INITDONE(keyb),
        INITDONE(idle),
        INITDONE(menu),
        INITDONE(hist),
        INITDONE(clipboard),
        INITDONE(obj),
        INITDONE(analyser),
        INITDONE(asm),
        INITDONE(stddata),
        INITDONE(cfg),

}

Definition at line 71 of file main.cc.

Referenced by main().


Generated on Fri May 7 21:15:51 2004 by doxygen 1.3.5