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.2 by maloninc, Fri Jul 29 03:07:53 2005 UTC revision 1.6 by maloninc, Tue Sep 20 06:36:29 2005 UTC
# Line 1  Line 1 
1  #ifndef MNDEF_H  #ifndef MNDEF_H
2  #define MNDEF_H  #define MNDEF_H
3    #include <errno.h>
4    
5  #define MN_ERROR(msg)     wxLogError(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);
6  #define MN_SYS_ERROR(msg)  wxLogSysError(wxT("File: [%s]    Line: [%d]   Message: [%s]"), __TFILE__, __LINE__, msg);  #define MN_SYS_ERROR(msg)  wxLogSysError(wxT("File: [%s]    Line: [%d]   Message: [%s]    errno: [%d]"), __TFILE__, __LINE__, msg, errno);
7  #define MN_FATAL_ERROR(msg)  wxLogFatalError(wxT("File: [%s]    Line: [%d]   Message: [%s]"), __TFILE__, __LINE__, msg);  #define MN_FATAL_ERROR(msg)  wxLogFatalError(wxT("File: [%s]    Line: [%d]   Message: [%s]    errno: [%d]"), __TFILE__, __LINE__, msg, errno);
 #define MN_APP_VERSION       "MalonNote v0.9.1"  
8  #define MN_APP_NAME          "MalonNote"  #define MN_APP_NAME          "MalonNote"
9    #define MN_APP_VERSION       MN_APP_NAME " version" PACKAGE_VERSION
10  #endif // MNDEF_H  #endif // MNDEF_H

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

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