Ignore:
Timestamp:
Aug 27, 2010, 11:00:52 AM (11 years ago)
Author:
Silvan Scherrer
Message:

poppler update to 0.14.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/mypoppler/goo/GooString.h

    r277 r461  
    1818// Copyright (C) 2006 Kristian HÞgsberg <krh@redhat.com>
    1919// Copyright (C) 2006 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
    20 // Copyright (C) 2008, 2009 Albert Astals Cid <aacid@kde.org>
     20// Copyright (C) 2008-2010 Albert Astals Cid <aacid@kde.org>
    2121//
    2222// To see a description of the changes please see the Changelog file that
     
    4343
    4444  // Create a string from a C string.
    45   GooString(const char *sA);
     45  explicit GooString(const char *sA);
    4646
    4747  // Create a string from <lengthA> chars at <sA>.  This string
     
    5959
    6060  // Copy a string.
    61   GooString(GooString *str);
    62   GooString *copy() { return new GooString(this); }
     61  explicit GooString(const GooString *str);
     62  GooString *copy() const { return new GooString(this); }
    6363
    6464  // Concatenate two strings.
     
    9999
    100100  // Get C string.
    101   char *getCString() { return s; }
     101  char *getCString() const { return s; }
    102102
    103103  // Get <i>th character.
     
    132132
    133133  // Compare two strings:  -1:<  0:=  +1:>
    134   int cmp(GooString *str);
    135   int cmpN(GooString *str, int n);
    136   int cmp(const char *sA);
    137   int cmpN(const char *sA, int n);
     134  int cmp(GooString *str) const;
     135  int cmpN(GooString *str, int n) const;
     136  int cmp(const char *sA) const;
     137  int cmpN(const char *sA, int n) const;
    138138
    139139  GBool hasUnicodeMarker(void);
     
    146146
    147147private:
     148  GooString(const GooString &other);
     149  GooString& operator=(const GooString &other);
     150
    148151  // you can tweak this number for a different speed/memory usage tradeoffs.
    149152  // In libc malloc() rounding is 16 so it's best to choose a value that
Note: See TracChangeset for help on using the changeset viewer.