Diff for /parser3/src/classes/image.C between versions 1.97 and 1.99

version 1.97, 2003/11/07 13:59:21 version 1.99, 2003/11/20 16:34:23
Line 5 Line 5
         Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
 */  */
   
 static const char* IDENT_IMAGE_C="$Date$";  static const char * const IDENT_IMAGE_C="$Date$";
   
 /*  /*
         jpegsize: gets the width and height (in pixels) of a jpeg file          jpegsize: gets the width and height (in pixels) of a jpeg file
Line 33  static const char* IDENT_IMAGE_C="$Date$ Line 33  static const char* IDENT_IMAGE_C="$Date$
   
 class MImage: public Methoded {  class MImage: public Methoded {
 public: // VStateless_class  public: // VStateless_class
         Value* create_new_value(Pool& apool) { return new VImage(); }          Value* create_new_value(Pool&) { return new VImage(); }
   
 public:  public:
         MImage();          MImage();
Line 687  struct File_measure_action_info { Line 687  struct File_measure_action_info {
 };  };
 #endif  #endif
 static void file_measure_action(  static void file_measure_action(
                                                                 struct stat& finfo, int f,                                                                   struct stat& /*finfo*/, int f, 
                                                                 const String& file_spec, const char* fname, bool as_text,                                                                  const String& /*file_spec*/, const char* fname, bool /*as_text*/,
                                                                 void *context) {                                                                  void *context) {
         File_measure_action_info& info=*static_cast<File_measure_action_info *>(context);          File_measure_action_info& info=*static_cast<File_measure_action_info *>(context);
   
Line 792  static gdImage* load(Request& r, Line 792  static gdImage* load(Request& r,
                 throw Exception("file.missing",                   throw Exception("file.missing", 
                         0,                           0, 
                         "can not open '%s'", file_name_cstr);                          "can not open '%s'", file_name_cstr);
                 return 0;  
         }          }
 }  }
   

Removed from v.1.97  
changed lines
  Added in v.1.99


E-mail: