IPresetHandler.hpp

Go to the documentation of this file.
00001 #ifndef __IPresetHandler__
00002 #define __IPresetHandler__
00003 
00004 #include <IO/CPresetIO.hpp>
00005 using Exponent::IO::CPresetIO;
00006 
00007 //  ===========================================================================
00008 
00009 namespace Exponent
00010 {
00011     namespace GUI
00012     {
00013         namespace Controls
00014         {
00033             interface IPresetHandler
00034             {
00035             
00036 //  ===========================================================================
00037             
00038             public:
00039                 
00040 //  ===========================================================================
00041                 
00045                 IPresetHandler() { }
00046                 
00050                 virtual ~IPresetHandler() { }
00051 
00052 //  ===========================================================================
00053 
00059                 virtual bool savePreset(const CSystemString &presetPath) = 0;
00060 
00066                 virtual bool loadPreset(const CSystemString &presetPath) = 0;
00067 
00074                 virtual bool validatePreset(const CSystemString &path, CPresetIO &presetIO) = 0;
00075 
00081                 virtual bool validatePreset(const CSystemString &filename) = 0;
00082 
00088                 virtual void getPresetExtensionFilter(CString &theExtensionFilter, CString &theExtensionDescription) = 0;
00089 
00090 //  ===========================================================================
00091             };
00092         }
00093     }
00094 }
00095 #endif  // End of IPresetHandler.hpp

Infinity API - IPresetHandler.hpp Source File generated on 7 Mar 2007