[maemo-commits] [maemo-commits] r15521 - in projects/haf/trunk/maemo-launcher: . launcher
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu May 8 13:44:17 EEST 2008
- Previous message: [maemo-commits] r15520 - in projects/haf/trunk/maemo-launcher: . debian launcher
- Next message: [maemo-commits] r15522 - in projects/haf/trunk/maemo-launcher: . launcher
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: guillem Date: 2008-05-08 13:44:14 +0300 (Thu, 08 May 2008) New Revision: 15521 Modified: projects/haf/trunk/maemo-launcher/ChangeLog projects/haf/trunk/maemo-launcher/launcher/report.c projects/haf/trunk/maemo-launcher/launcher/report.h Log: Add report_warning support Modified: projects/haf/trunk/maemo-launcher/ChangeLog =================================================================== --- projects/haf/trunk/maemo-launcher/ChangeLog 2008-05-08 10:44:12 UTC (rev 15520) +++ projects/haf/trunk/maemo-launcher/ChangeLog 2008-05-08 10:44:14 UTC (rev 15521) @@ -1,3 +1,9 @@ +2008-04-27 Guillem Jover <guillem.jover at nokia.com> + + * launcher/report.h (enum report_type): Add report_warning. + (warning): New macro. + * launcher/report.c (vreport): Handle report_warning. + 2008-04-23 Guillem Jover <guillem.jover at nokia.com> * launcher/launcher.c (store_state): Call comm_msg_destroy. Modified: projects/haf/trunk/maemo-launcher/launcher/report.c =================================================================== --- projects/haf/trunk/maemo-launcher/launcher/report.c 2008-05-08 10:44:12 UTC (rev 15520) +++ projects/haf/trunk/maemo-launcher/launcher/report.c 2008-05-08 10:44:14 UTC (rev 15521) @@ -60,6 +60,10 @@ case report_info: log_type = LOG_INFO; break; + case report_warning: + str_type = "warning "; + log_type = LOG_WARNING; + break; case report_error: str_type = "error "; log_type = LOG_ERR; Modified: projects/haf/trunk/maemo-launcher/launcher/report.h =================================================================== --- projects/haf/trunk/maemo-launcher/launcher/report.h 2008-05-08 10:44:12 UTC (rev 15520) +++ projects/haf/trunk/maemo-launcher/launcher/report.h 2008-05-08 10:44:14 UTC (rev 15521) @@ -38,6 +38,7 @@ enum report_type { report_debug, report_info, + report_warning, report_error, report_fatal }; @@ -52,6 +53,7 @@ #endif #define info(msg, ...) report(report_info, msg, ##__VA_ARGS__) +#define warning(msg, ...) report(report_warning, msg, ##__VA_ARGS__) #define error(msg, ...) report(report_error, msg, ##__VA_ARGS__) extern void ATTR_NORET die(int status, char *msg, ...);
- Previous message: [maemo-commits] r15520 - in projects/haf/trunk/maemo-launcher: . debian launcher
- Next message: [maemo-commits] r15522 - in projects/haf/trunk/maemo-launcher: . launcher
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]