Skip to content

Commit

Permalink
Commited missing files
Browse files Browse the repository at this point in the history
git-svn-id: http://sanoi.webfactional.com/trunk@113 79def182-f41f-0410-b320-e94a04284523
  • Loading branch information
mario committed Oct 12, 2007
1 parent b1cffc7 commit 04424f5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/hintstring.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#ifndef _HINTSTRING_H
#define _HINTSTRING_H

#define HINTSTR_HISTORYUSAGE \
"Usage: /history [maxnumber|enable|list]\n\
Examp:/history maxnumber n (n : set max number of record history.) \n\
/history enable [on|off] (enable or disable history record.) \n\
/history list n[0-all] (n : list n of the histories,default n=10.\n\
if n=all,list all of the histories.)"

#define HINTSTR_HISTORYMAXNUM(num) \
" Max number of histories is %d.", num

#define HINTSTR_HISTORYENABLE(enable) \
" History record enable is %d.", enable

#define HINTSTR_HISTORYLISTNUM(number) \
" History recorded number is %d.", number

#endif

10 changes: 10 additions & 0 deletions src/warningstring.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#ifndef _WARNINGSTRING_H
#define _WARNINGSTRING_H

#define WARNSTRING_CANTSAVEHISTORY \
("\
Can't save history infomation to ~/.fama/history file. \n\
Please check your permission. \n\
")

#endif

0 comments on commit 04424f5

Please sign in to comment.