comments and #ifdef __cplusplus

This commit is contained in:
Fischlurch 2008-12-08 11:03:42 +01:00 committed by Christian Thaeter
parent 0675f589a2
commit 255e501258
3 changed files with 10 additions and 4 deletions

View file

@ -38,6 +38,8 @@
#define GUI_GUINOTIFICATION_H
#ifdef __cplusplus /* ============== C++ Interface ================= */
#include "common/singletonsubclass.hpp"
#include <string>
@ -79,7 +81,11 @@ namespace gui {
} // namespace gui
extern "C" {
#endif /* =========================== CLI Interface ================= */
#include "lumiera/interface.h"
LUMIERA_INTERFACE_DECLARE (lumieraorg_GuiNotification, 1,
@ -88,6 +94,7 @@ LUMIERA_INTERFACE_DECLARE (lumieraorg_GuiNotification, 1,
);
#ifdef __cplusplus
}
#endif
#endif

View file

@ -189,7 +189,7 @@ namespace lumiera {
AppState::abort (lumiera::Error& problem)
{
INFO (operate, "Address of Config Facade = %x", &lumiera::Config::instance()); //////////TODO: a temp hack to force configfacade.cpp to be linked into lumiera.exe
INFO (operate, "Address of Config Facade = %x", &lumiera::Config::instance()); //////////TODO: a temp hack to force configfacade.cpp to be linked into lumiera exe.
ERROR (operate, "Aborting Lumiera after unhandled error: %s", cStr(problem.what()));

View file

@ -23,7 +23,7 @@
/** @file subsys.hpp
** Describing dependencies and lifecycle of the application's primary parts.
** Within Lumiera's main(), a small number of well-known application subsystems
** need to be started and maintained, while observing some interrelations.
** need to be started and maintained, observing some interrelations.
** While the activation of the key components is controlled by options, maybe
** some prerequisite subsystems need to be pulled up, and in case of an regular
** or irregular exit of a given subsystem, the whole dependency graph needs
@ -56,7 +56,6 @@
namespace lumiera {
using std::string;
// using boost::scoped_ptr;
using boost::noncopyable;
using std::tr1::function;