Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/mnDef.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.1.1 by maloninc, Thu Jul 28 03:25:05 2005 UTC revision 1.11 by maloninc, Tue Oct 24 08:52:04 2006 UTC
# Line 1  Line 1 
1  #ifndef MNDEF_H  #ifndef MNDEF_H
2  #define MNDEF_H  #define MNDEF_H
3    
4  #define MN_ERROR(msg)     wxLogError(wxT("File: [%s]    Line: [%d]   Message: [%s]"), __TFILE__, __LINE__, msg);  #include <errno.h>
5  #define MN_SYS_ERROR(msg)  wxLogSysError(wxT("File: [%s]    Line: [%d]   Message: [%s]"), __TFILE__, __LINE__, msg);  
6  #define MN_FATAL_ERROR(msg)  wxLogFatalError(wxT("File: [%s]    Line: [%d]   Message: [%s]"), __TFILE__, __LINE__, msg);  #define MN_ERROR(msg)     wxLogError(wxT("File: [%s]    Line: [%d]   Message: [%s]    errno: [%d]"), __TFILE__, __LINE__, msg, errno);
7    #define MN_SYS_ERROR(msg)  wxLogSysError(wxT("File: [%s]    Line: [%d]   Message: [%s]    errno: [%d]"), __TFILE__, __LINE__, msg, errno);
8    #define MN_FATAL_ERROR(msg)  wxLogFatalError(wxT("File: [%s]    Line: [%d]   Message: [%s]    errno: [%d]"), __TFILE__, __LINE__, msg, errno);
9    #define MN_APP_NAME          "MalonNote"
10    #define MN_APP_VERSION       MN_APP_NAME " version" PACKAGE_VERSION
11    
12    #define MN_READ_INTERVAL        60000 /* milli seconds */
13    
14    #define MN_ENABLE_FAST_SEARCH    "YES"
15    #define MN_DISABLE_FAST_SEARCH   "NO"
16    
17    #define CONF_APP_NAME        "MalonNote"
18    #define CONF_WIKI_DIR        "WikiDir"
19    #define CONF_FAST_SEARCH_OPT "FastSearchOpt"
20    
21  #endif // MNDEF_H  #endif // MNDEF_H

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.11

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26