xa_msg.h File Reference

constants for Messages More...

Go to the source code of this file.

Enumerations

enum  {
  MSG_ok, MSG_cancel, MSG_save, MSG_insert,
  MSG_delete, MSG_modify, MSG_exit, MSG_help,
  MSG_length, MSG_activate, MSG_move, MSG_edit,
  MSG_rename, MSG_CreSubModel, MSG_show, MSG_hide,
  MSG_shade, MSG_inspect, MSG_movPoints, MSG_undo,
  MSG_filter, MSG_texture, MSG_open, MSG_GrpClear,
  MSG_GrpHide, MSG_GrpDelA, MSG_GrpAdd1, MSG_GrpRem1,
  MSG_GrpRemTyp, MSG_GrpRemOTs, MSG_upd, MSG_all,
  MSG_no, MSG_Error, MSG_SIZE
}

Functions

char * APP_MSG_get_0 (char *key)
char * APP_MSG_get_1 (char *key, char *fmt,...)
char * MSG_get_0 (char *key)
char * MSG_const__ (int iMsg)
char * MSG_read (char *sbuf, int bufSiz, char *key)
char * MSG_fread (char *sbuf, int bufSiz, char *key, FILE *fpIn)
char * MSG_get_str (char *keyStr)
int MSG_get__ (char *msg, int msgSiz, char *key, FILE *fpIn, char *fmt, va_list *va)

Detailed Description

constants for Messages


Enumeration Type Documentation

anonymous enum
Enumerator:
MSG_ok 
MSG_cancel 
MSG_save 
MSG_insert 
MSG_delete 
MSG_modify 
MSG_exit 
MSG_help 
MSG_length 
MSG_activate 
MSG_move 
MSG_edit 
MSG_rename 
MSG_CreSubModel 
MSG_show 
MSG_hide 
MSG_shade 
MSG_inspect 
MSG_movPoints 
MSG_undo 
MSG_filter 
MSG_texture 
MSG_open 
MSG_GrpClear 
MSG_GrpHide 
MSG_GrpDelA 
MSG_GrpAdd1 
MSG_GrpRem1 
MSG_GrpRemTyp 
MSG_GrpRemOTs 
MSG_upd 
MSG_all 
MSG_no 
MSG_Error 
MSG_SIZE 

Function Documentation

char* APP_MSG_get_0 ( char *  key  ) 

get application-message with 0 parameters.

char* APP_MSG_get_1 ( char *  key,
char *  fmt,
  ... 
)

    get message with 1 parameter, formatted ..
    get msg from messagefile for the active application

char* MSG_get_0 ( char *  key  ) 
char* MSG_const__ ( int  iMsg  ) 

    MSG_const__     get const-message from nr
   
    message-constants: see file msg_const_de.txt
    p1 = MSG_const__ (MSG_ok);         // 0=first message = yes
      iMsg - eg MSG_ok - see xa_msg.h
    Add new constants:
      add ID in xa_msg.h;
      add msg in msg_const_de.txt (and all others, msg_const_en.txt ..)

char* MSG_read ( char *  sbuf,
int  bufSiz,
char *  key 
)
char* MSG_fread ( char *  sbuf,
int  bufSiz,
char *  key,
FILE *  fpIn 
)
char* MSG_get_str ( char *  keyStr  ) 

    MSG_get_str     get message from string (get key from string; 0 parameters)
    max returned size = 256 chars
    see also MSG_get_0

int MSG_get__ ( char *  msg,
int  msgSiz,
char *  key,
FILE *  fpIn,
char *  fmt,
va_list *  va 
)
Generated on Fri Apr 6 09:40:11 2012 for gCAD3D by  doxygen 1.6.3