error.hpp belongs to src/lib
This commit is contained in:
parent
0bd0cfc549
commit
e921b1658c
39 changed files with 37 additions and 39 deletions
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
|
||||
#include "lib/singleton.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
* *****************************************************/
|
||||
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "include/lifecycle.h"
|
||||
#include "common/appstate.hpp"
|
||||
#include "lib/lifecycleregistry.hpp"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "gui/guifacade.hpp"
|
||||
#include "include/guinotificationfacade.h"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/singleton.hpp"
|
||||
#include "lib/functorutil.hpp"
|
||||
#include "common/instancehandle.hpp"
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include "lib/singletonsubclass.hpp"
|
||||
#include "include/guinotificationfacade.h"
|
||||
#include "lib/util.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
extern "C" {
|
||||
#include "common/interface.h"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "common/option.hpp"
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/util.hpp"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "common/subsys.hpp"
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
//#include "lib/util.hpp"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
#ifndef LUMIERA_SUBSYS_H
|
||||
#define LUMIERA_SUBSYS_H
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "common/option.hpp"
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#ifndef LUMIERA_SUBSYSTEMRUNNER_H
|
||||
#define LUMIERA_SUBSYSTEMRUNNER_H
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/util.hpp"
|
||||
#include "common/subsys.hpp"
|
||||
#include "lib/multithread.hpp"
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
#ifdef __cplusplus /* ============= C++ ================ */
|
||||
|
||||
#include "include/lifecycle.h"
|
||||
#include "include/error.hpp" ///< make assertions throw instead of abort()
|
||||
#include "lib/error.hpp" ///< make assertions throw instead of abort()
|
||||
|
||||
namespace lumiera {
|
||||
void initialise_NoBug ();
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ liblumiera_la_SOURCES = \
|
|||
|
||||
noinst_HEADERS += \
|
||||
$(liblumiera_la_srcdir)/error.h \
|
||||
$(liblumiera_la_srcdir)/error.hpp \
|
||||
$(liblumiera_la_srcdir)/mutex.h \
|
||||
$(liblumiera_la_srcdir)/rwlock.h \
|
||||
$(liblumiera_la_srcdir)/condition.h \
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
#include "lib/allocationcluster.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/util.hpp"
|
||||
|
||||
using util::isnil;
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
#include <boost/noncopyable.hpp>
|
||||
|
||||
#include "lib/multithread.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/scopedholder.hpp"
|
||||
#include "lib/scopedholdertransfer.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/util.hpp"
|
||||
|
||||
#include <exception>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef LIB_SCOPEDHOLDERVECTOR_H
|
||||
#define LIB_SCOPEDHOLDERVECTOR_H
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include <memory>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ This code is heavily inspired by
|
|||
#define LUMIERA_SINGLETONPOLICIES_H
|
||||
|
||||
#include "lib/multithread.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
#include "lib/cmdline.hpp"
|
||||
#include "lib/test/suite.hpp"
|
||||
#include "lib/test/run.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/util.hpp"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include "lib/test/testoption.hpp"
|
||||
#include "lib/test/suite.hpp"
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef LUMIERA_VISITORDISPATCHER_H
|
||||
#define LUMIERA_VISITORDISPATCHER_H
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/util.hpp"
|
||||
#include "lib/singleton.hpp"
|
||||
#include "lib/multithread.hpp"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#ifndef LUMIERA_VISITORPOLICIES_H
|
||||
#define LUMIERA_VISITORPOLICIES_H
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
|
||||
namespace lumiera
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
|
||||
#include "include/nobugcfg.h"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "common/appstate.hpp"
|
||||
#include "common/option.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
#include "proc/asset/category.hpp"
|
||||
#include "include/nobugcfg.h"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/p.hpp"
|
||||
|
||||
#include <boost/type_traits/is_base_of.hpp>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
#include "pre_a.hpp"
|
||||
|
||||
#include "proc/asset.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
#include <tr1/memory>
|
||||
#include <tr1/unordered_map>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
#include "proc/mobject/session.hpp"
|
||||
#include "common/configrules.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/util.hpp"
|
||||
|
||||
#include <boost/format.hpp>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
#include "pre_a.hpp"
|
||||
|
||||
#include "proc/asset.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/singleton.hpp"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@
|
|||
#include "lib/util.hpp"
|
||||
#include "lib/lumitime.hpp"
|
||||
#include "include/symbol.hpp"
|
||||
#include "include/error.hpp" ///< pulls in NoBug via nobugcfg.h
|
||||
#include "lib/error.hpp" ///< pulls in NoBug via nobugcfg.h
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
#define ENGINE_BUFFHANDLE_H
|
||||
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "lib/streamtype.hpp"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#define ENGINE_BUFFHTABLE_H
|
||||
|
||||
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
#include "proc/engine/buffhandle.hpp"
|
||||
#include "proc/engine/procnode.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include "proc/mobject/session/defsmanager.hpp"
|
||||
#include "proc/mobject/session/defsregistry.hpp"
|
||||
#include "common/configrules.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
#include <boost/format.hpp>
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "proc/mobject/session/sessionimpl.hpp"
|
||||
#include "proc/mobject/placement.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
namespace mobject
|
||||
{
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
#include "proc/mobject/session/sessionimpl.hpp"
|
||||
#include "proc/mobject/session/defsmanager.hpp"
|
||||
//#include "proc/mobject/session/defsregistry.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
using boost::scoped_ptr;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ tests_srcdir = $(top_srcdir)/tests
|
|||
|
||||
|
||||
check_PROGRAMS += test-error
|
||||
test_error_SOURCES = $(tests_srcdir)/error/errortest.c
|
||||
test_error_SOURCES = $(tests_srcdir)/library/test-error.c
|
||||
test_error_CPPFLAGS = $(AM_CPPFLAGS) -std=gnu99 -Wall -Werror
|
||||
test_error_LDADD = liblumiera.la $(NOBUGMT_LUMIERA_LIBS) liblumieracommon.la liblumieraproc.la -ldl -lboost_program_options-mt -lboost_regex-mt
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ test_components_SOURCES = \
|
|||
$(testcomponents_srcdir)/proc/asset/makecliptest.cpp \
|
||||
$(testcomponents_srcdir)/proc/asset/orderingofassetstest.cpp \
|
||||
$(testcomponents_srcdir)/proc/asset/testasset.cpp \
|
||||
$(testcomponents_srcdir)/proc/engine/bufftabletest.cpp \
|
||||
$(testcomponents_srcdir)/proc/engine/bufftabletest.cpp \
|
||||
$(testcomponents_srcdir)/proc/engine/sourcenodetest.cpp \
|
||||
$(testcomponents_srcdir)/proc/mobject/builder/buildertooltest.cpp \
|
||||
$(testcomponents_srcdir)/proc/mobject/builder/buildsegmenttest.cpp \
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
#include "lib/test/run.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
#include "proc/engine/procnode.hpp"
|
||||
#include "proc/engine/bufftable.hpp"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
|
||||
#include "proc/mobject/session.hpp"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
//#include "lib/factory.hpp"
|
||||
//#include "lib/util.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
example (test) code for errorhandling
|
||||
The test application to be built from this directory shows how
|
||||
to use the various error handling features.
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
|
||||
#include "lib/error.h"
|
||||
#include "include/error.hpp"
|
||||
#include "lib/error.hpp"
|
||||
|
||||
#include "lib/test/run.hpp"
|
||||
#include "lib/util.hpp"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
errortest.c - test error handling
|
||||
test-error.c - test error handling
|
||||
|
||||
Copyright (C) Lumiera.org
|
||||
2008, Christian Thaeter <ct@pipapo.org>
|
||||
Loading…
Reference in a new issue