Support.h

Go to the documentation of this file.
00001 #ifndef __SUPPORT_H__
00002 #define __SUPPORT_H__
00003 
00004 /*
00005 
00006 $Header$
00007 
00008 */
00009 
00010 class Support
00011 {
00012 
00013 public:
00014 
00015   Support();
00016   virtual ~Support() {}
00017 
00018   inline
00019   int failureCode() const;
00020 
00021 protected:
00022 
00023   inline
00024   void failure(const int code);
00025 
00026 private:
00027 
00028   int _failureCode;
00029 };
00030 
00031 // Public methods.
00032 
00033 inline
00034 int Support::failureCode() const
00035 {
00036   return _failureCode;
00037 }
00038 
00039 // Protected methods.
00040 
00041 inline
00042 void Support::failure(const int code)
00043 {
00044   _failureCode = code;
00045 }
00046 
00047 #endif

Generated on Thu Sep 6 20:11:25 2007 for Pylon Application Platform by  doxygen 1.5.1