TASImagePlugin.h

Go to the documentation of this file.
00001 // @(#)root/graf:$Id: TASImagePlugin.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Valeriy Onuchin   23/06/05
00003 
00004 /*************************************************************************
00005  * Copyright (C) 2001-2002, Rene Brun, Fons Rademakers and Reiner Rohlfs *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TASImagePlugin
00013 #define ROOT_TASImagePlugin
00014 
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 //  TASImagePlugin                                                      //
00019 //                                                                      //
00020 //////////////////////////////////////////////////////////////////////////
00021 
00022 #ifndef ROOT_TImagePlugin
00023 #include "TImagePlugin.h"
00024 #endif
00025 
00026 struct ASImage;
00027 
00028 class TASImagePlugin : public TImagePlugin {
00029 
00030 public:
00031    TASImagePlugin(const char *ext) : TImagePlugin(ext) { }
00032    virtual ~TASImagePlugin() { }
00033 
00034    virtual unsigned char *ReadFile(const char * /*filename*/, UInt_t & /*w*/,  UInt_t & /*h*/) { return 0; }
00035    virtual Bool_t WriteFile(const char * /*filename*/, unsigned char * /*argb*/, UInt_t /*w*/,  UInt_t  /*h*/) { return kFALSE; }
00036    virtual ASImage *File2ASImage(const char * /*filename*/) {  return 0; }
00037    virtual Bool_t ASImage2File(ASImage * /*asimage*/) { return kFALSE; }
00038 
00039    ClassDef(TASImagePlugin, 0)  // asimage plugin
00040 };
00041 
00042 #endif

Generated on Tue Jul 5 14:13:24 2011 for ROOT_528-00b_version by  doxygen 1.5.1