Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ModulePkgError.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013   File:       ModulePkgError.h
00014 
00015   Author:     Michael Andres <ma@suse.de>
00016   Maintainer: Michael Andres <ma@suse.de>
00017 
00018   Purpose: Hook for "PkgModule" error values.
00019 
00020 /-*/
00021 #ifndef ModulePkgError_h
00022 #define ModulePkgError_h
00023 
00024 #include <iosfwd>
00025 
00026 #include <y2pm/PMError.h>
00027 
00029 //
00030 //      CLASS NAME : ModulePkgError
00039 class ModulePkgError {
00040 
00041   private:
00042 
00043     friend class PMError;
00044 
00045     static const std::string errclass;
00046 
00047     static std::string errtext( const unsigned e );
00048 
00049   protected:
00050 
00051     typedef std::string (*errtextFnc)( const unsigned );
00052 
00053     static errtextFnc errtextfnc;
00054 };
00055 
00057 
00058 #endif // ModulePkgError_h
00059 

Generated on Fri Nov 9 14:30:31 2007 for yast2-packagemanager by doxygen 1.3.6