Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

logging.h

00001 
00002 #ifndef __UPF_LOGGING_H__
00003 #define __UPF_LOGGING_H__
00004 
00005 #ifdef HAVE_CONFIG_H
00006 #include "config.h"
00007 #endif
00008 #include "upf/upf.h"
00009 #include "upf/IServiceManager.h"
00010 #include "upf/ILog.h"
00011 
00012 namespace upf { namespace impl {
00013 
00014 using namespace std;
00015 
00016 class DefaultLog : public ILog
00017 {
00018 public:
00019     DefaultLog() {}
00020     virtual ~DefaultLog() {}
00021     
00022     void log(const string& origin, const LogType& type, const string& text);
00023     
00024     UPF_DECLARE_CLASS(DefaultLog)
00025 };
00026 
00027 class LogChangeListener : public IServiceChangeListener
00028 {
00029 public:
00030     LogChangeListener() {}
00031     virtual ~LogChangeListener() {}
00032 
00033     void onChange(const string& name, IObject* value);
00034 
00035     UPF_DECLARE_CLASS(LogChangeListener)
00036 };
00037 
00038 
00039 } } // end of namespace
00040 
00041 #endif

Generated on Wed Jan 15 23:10:55 2003 for Universal Plugins Framework by doxygen1.2.18